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:
Love Hörnquist Åstrand
2007-12-07 02:23:00 +00:00
parent 08e19e862a
commit 473b2e044b

View File

@@ -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;