Use HAVE_FCNTL for both lock and unlock, from Hai Zaar.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22194 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -108,7 +108,7 @@ int
|
|||||||
_krb5_xunlock(krb5_context context, int fd)
|
_krb5_xunlock(krb5_context context, int fd)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
#ifdef HAVE_FCNTL_LOCK
|
#ifdef HAVE_FCNTL
|
||||||
struct flock l;
|
struct flock l;
|
||||||
l.l_start = 0;
|
l.l_start = 0;
|
||||||
l.l_len = 0;
|
l.l_len = 0;
|
||||||
|
Reference in New Issue
Block a user