summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in3
-rw-r--r--source3/include/includes.h4
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index f85de1b1af..9aa9a1b203 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -842,6 +842,9 @@
/* Define if you have the <lastlog.h> header file. */
#undef HAVE_LASTLOG_H
+/* Define if you have the <lber.h> header file. */
+#undef HAVE_LBER_H
+
/* Define if you have the <ldap.h> header file. */
#undef HAVE_LDAP_H
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 92ac462e1b..3a4c50ab9a 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -385,6 +385,10 @@
#undef HAVE_KRB5
#endif
+#if HAVE_LBER_H
+#include <lber.h>
+#endif
+
#if HAVE_LDAP_H
#include <ldap.h>
#else