summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in8
-rw-r--r--source3/include/includes.h4
2 files changed, 9 insertions, 3 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index afe49d419c..0f82546e33 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -190,7 +190,10 @@
#undef USE_SETRESUID
#undef USE_SETREUID
#undef USE_SETUIDX
-#undef HAVE_LIBDL
+#undef HAVE_DLOPEN
+#undef HAVE_DLCLOSE
+#undef HAVE_DLSYM
+#undef HAVE_DLERROR
#undef SYSCONF_SC_NGROUPS_MAX
#undef HAVE_UT_UT_NAME
#undef HAVE_UT_UT_USER
@@ -878,6 +881,9 @@
/* Define if you have the <dirent.h> header file. */
#undef HAVE_DIRENT_H
+/* Define if you have the <dlfcn.h> header file. */
+#undef HAVE_DLFCN_H
+
/* Define if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
diff --git a/source3/include/includes.h b/source3/include/includes.h
index becf7e5e39..3d71f43303 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1002,9 +1002,9 @@ int vasprintf(char **ptr, const char *format, va_list ap);
#define DEFAULT_SOCKET_OPTIONS ""
#endif
-/* Load header file for libdl stuff */
+/* Load header file for dynamic linking stuff */
-#ifdef HAVE_LIBDL
+#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif