diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/krb5/os/lock_file.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/krb5/os/lock_file.c b/src/lib/krb5/os/lock_file.c index 6ad5bc0f6..aea0141d1 100644 --- a/src/lib/krb5/os/lock_file.c +++ b/src/lib/krb5/os/lock_file.c @@ -25,16 +25,15 @@ */ +#if HAVE_UNISTD_H +#include <unistd.h> +#endif + #include <krb5/krb5.h> #include <krb5/libos.h> #include <stdio.h> -#if HAVE_UNISTD_H -#include <sys/types.h> -#include <unistd.h> -#endif - #ifdef _POSIX_VERSION /* Is there a better way to decide whether or not we should use flock */ /* vs. fcntl. Example: broken SunOS tmpfs.... */ |
