summaryrefslogtreecommitdiffstats
path: root/ldapaddressbook/libldapsearch.c
diff options
context:
space:
mode:
authorSam Varshavchik2022-05-22 23:52:28 -0400
committerSam Varshavchik2022-05-22 23:52:31 -0400
commit83e37efc8ed785cd095eb585ff747e5702ec49b3 (patch)
tree15aed6da6214e9a03d91be1754cd351175349945 /ldapaddressbook/libldapsearch.c
parent1ce81fa6af52651628a0bffcd8b15fdb459901a5 (diff)
downloadcourier-libs-83e37efc8ed785cd095eb585ff747e5702ec49b3.tar.bz2
gcc 12, autotool updates, sqwebmail fixes.
Diffstat (limited to 'ldapaddressbook/libldapsearch.c')
-rw-r--r--ldapaddressbook/libldapsearch.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/ldapaddressbook/libldapsearch.c b/ldapaddressbook/libldapsearch.c
index 71ef2ed..4bb7a2b 100644
--- a/ldapaddressbook/libldapsearch.c
+++ b/ldapaddressbook/libldapsearch.c
@@ -8,15 +8,8 @@
#include <stdlib.h>
#include <errno.h>
#include <time.h>
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
+#if HAVE_SYS_TIME_H
+#include <sys/time.h>
#endif
/*