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 5dd453c4d2..0f90604ebc 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -875,6 +875,9 @@
/* Define if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H
+/* Define if you have the <com_err.h> header file. */
+#undef HAVE_COM_ERR_H
+
/* Define if you have the <compat.h> header file. */
#undef HAVE_COMPAT_H
diff --git a/source3/include/includes.h b/source3/include/includes.h
index d5153a196c..a02713e36f 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -424,6 +424,10 @@
#include <gssapi/gssapi_generic.h>
#endif
+#if HAVE_COM_ERR_H
+#include <com_err.h>
+#endif
+
/* we support ADS if we want it and have krb5 and ldap libs */
#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP)
#define HAVE_ADS