summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbind_nss_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h
index a946db89f6..4902f6ec5c 100644
--- a/source3/nsswitch/winbind_nss_config.h
+++ b/source3/nsswitch/winbind_nss_config.h
@@ -43,7 +43,7 @@
#include <sys/socket.h>
#endif
-#ifdef HAVE_SYS_UN_H
+#ifdef HAVE_UNIXSOCKET
#include <sys/un.h>
#endif