diff options
Diffstat (limited to 'lib/ldap.c')
-rw-r--r-- | lib/ldap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ldap.c b/lib/ldap.c index e140f4ffa..c6f7e5490 100644 --- a/lib/ldap.c +++ b/lib/ldap.c @@ -30,8 +30,12 @@ #include <stdarg.h> #include <stdlib.h> #include <ctype.h> +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H #include <sys/stat.h> +#endif #include <errno.h> #if defined(WIN32) |