summaryrefslogtreecommitdiffstats
path: root/source4/nsswitch/winbind_nss_config.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-05-12 10:46:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:41 -0500
commit15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9 (patch)
tree9c41593a2124b1d6e17a0443384923ec590e3c23 /source4/nsswitch/winbind_nss_config.h
parent51a3cfe35eca4b4793811d70877ca243f810a31e (diff)
downloadsamba-15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9.tar.gz
samba-15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9.tar.xz
samba-15a8f0ff0ad6104505f5275a901cf0cf8eb8f9b9.zip
r6752: Patch by Steven Edwards to improve portability to mingw32
(This used to be commit 8d63cd33a223cccb21d808747e9c97da53629fbc)
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 06dda984ee1..4edff061f87 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