]> git.sur5r.net Git - openldap/commitdiff
Do include of sys/time.h to define struct timeval used in back-bdb2/add.c
authorJuan Gomez <gomez@openldap.org>
Wed, 31 Mar 1999 01:15:51 +0000 (01:15 +0000)
committerJuan Gomez <gomez@openldap.org>
Wed, 31 Mar 1999 01:15:51 +0000 (01:15 +0000)
and back-bdb2/compare.c.

servers/slapd/back-bdb2/proto-back-bdb2.h

index 0d8b4610dccd79c6081a7ba44a09f2c5136634e1..10f7824f5101a90d7de082d33753efe28230121e 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <ldap_cdefs.h>
 
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>          /* Needed in add.c compare.c struct timeval */
+#endif
+
 #include "external.h"
 
 LDAP_BEGIN_DECL