]> git.sur5r.net Git - openldap/commitdiff
Update previous fix: utime() needs <sys/types.h> as well as <utime.h> on Linux
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 25 Jul 2005 22:53:21 +0000 (22:53 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 25 Jul 2005 22:53:21 +0000 (22:53 +0000)
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>