X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Falock.c;h=37d467ad127e658ee0ee0021998f4a13cfa22924;hb=e48f72c1b5a7ce571c7ced749aed473d20b32526;hp=83e0fbd37f1f779dd0069f6ac14da19aab333ee0;hpb=cc260ed6a013bfcbe3a8157f272370984ab0819e;p=openldap
diff --git a/servers/slapd/alock.c b/servers/slapd/alock.c
index 83e0fbd37f..37d467ad12 100644
--- a/servers/slapd/alock.c
+++ b/servers/slapd/alock.c
@@ -2,7 +2,7 @@
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software .
*
- * Copyright 2005-2006 The OpenLDAP Foundation.
+ * Copyright 2005-2007 The OpenLDAP Foundation.
* Portions Copyright 2004-2005 Symas Corporation.
* All rights reserved.
*
@@ -32,7 +32,9 @@
#include
#include
#include
+#if HAVE_SYS_FILE_H
#include
+#endif
#include
#ifdef _WIN32