summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 859603c29f..e5076c6f39 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -205,6 +205,9 @@
#include <syslog.h>
#endif
+#ifdef HAVE_REGEX_H
+#include <regex.h>
+#endif
/***************************************************************************
@@ -1212,11 +1215,6 @@ extern char *sys_errlist[];
#define MAXCODEPAGELINES 256
#endif
-#ifdef USE_LDAP
-#include "lber.h"
-#include "ldap.h"
-#endif
-
/***** automatically generated prototypes *****/
#include "proto.h"