From bbff96dd909460a2c9cc463760a385a01997bcc3 Mon Sep 17 00:00:00 2001 From: Juan Gomez Date: Wed, 31 Mar 1999 01:15:51 +0000 Subject: [PATCH] Do include of sys/time.h to define struct timeval used in back-bdb2/add.c and back-bdb2/compare.c. --- servers/slapd/back-bdb2/proto-back-bdb2.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5