summaryrefslogtreecommitdiff
path: root/source4/nsswitch/winbind_nss_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/nsswitch/winbind_nss_config.h')
-rw-r--r--source4/nsswitch/winbind_nss_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/nsswitch/winbind_nss_config.h b/source4/nsswitch/winbind_nss_config.h
index 06dda984ee..4edff061f8 100644
--- a/source4/nsswitch/winbind_nss_config.h
+++ b/source4/nsswitch/winbind_nss_config.h
@@ -75,7 +75,10 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
+
+#ifdef HAVE_PWD_H
#include <pwd.h>
+#endif
#include "nsswitch/winbind_nss.h"
/* I'm trying really hard not to include anything from smb.h with the