diff options
Diffstat (limited to 'lib/flock.c')
-rw-r--r-- | lib/flock.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/flock.c b/lib/flock.c index 72eef5bd3..bdec6d48e 100644 --- a/lib/flock.c +++ b/lib/flock.c @@ -6,7 +6,7 @@ Written by Richard W.M. Jones <rjones.at.redhat.com> - Copyright (C) 2008-2010 Free Software Foundation, Inc. + Copyright (C) 2008-2011 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -163,9 +163,7 @@ flock (int fd, int operation) #ifdef HAVE_STRUCT_FLOCK_L_TYPE /* We know how to implement flock in terms of fcntl. */ -#ifdef HAVE_FCNTL_H #include <fcntl.h> -#endif #ifdef HAVE_UNISTD_H #include <unistd.h> |