]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/init.c
Update previous fix: utime() needs <sys/types.h> as well as <utime.h> on Linux
[openldap] / servers / slapd / back-bdb / init.c
index 666e43c03d36b69bd936186ed90696faf897caf5..282503a75ef4f5d7a5dc7c538650d8bced02372f 100644 (file)
 #include <ac/errno.h>
 #include <sys/stat.h>
 #ifdef HAVE_UTIME_H
-#include <utime.h>
+#  ifdef HAVE_SYS_TYPES_H
+#    include <sys/types.h>
+#  endif
+#  include <utime.h>
 #endif /* HAVE_UTIME_H */
 #include "back-bdb.h"
 #include <lutil.h>