summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in4
-rw-r--r--source3/include/includes.h2
2 files changed, 2 insertions, 4 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index a76aee4005..7bf9923368 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -217,6 +217,7 @@
#undef HAVE_SNPRINTF_DECL
#undef HAVE_VSNPRINTF_DECL
#undef HAVE_NATIVE_ICONV
+#undef HAVE_UNIXSOCKET
/* The number of bytes in a int. */
#undef SIZEOF_INT
@@ -947,9 +948,6 @@
/* Define if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
-/* Define if you have the <sys/un.h> header file. */
-#undef HAVE_SYS_UN_H
-
/* Define if you have the <sys/unistd.h> header file. */
#undef HAVE_SYS_UNISTD_H
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 87547f5253..2caeb255bd 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -107,7 +107,7 @@
#include <sys/socket.h>
#endif
-#ifdef HAVE_SYS_UN_H
+#ifdef HAVE_UNIXSOCKET
#include <sys/un.h>
#endif