From: Juan Gomez Date: Wed, 31 Mar 1999 01:15:51 +0000 (+0000) Subject: Do include of sys/time.h to define struct timeval used in back-bdb2/add.c X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~298 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bbff96dd909460a2c9cc463760a385a01997bcc3;p=openldap Do include of sys/time.h to define struct timeval used in back-bdb2/add.c and back-bdb2/compare.c. --- diff --git a/servers/slapd/back-bdb2/proto-back-bdb2.h b/servers/slapd/back-bdb2/proto-back-bdb2.h index 0d8b4610dc..10f7824f51 100644 --- a/servers/slapd/back-bdb2/proto-back-bdb2.h +++ b/servers/slapd/back-bdb2/proto-back-bdb2.h @@ -3,6 +3,10 @@ #include +#ifdef HAVE_SYS_TIME_H +#include /* Needed in add.c compare.c struct timeval */ +#endif + #include "external.h" LDAP_BEGIN_DECL