summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-06 06:54:49 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:31 +0100
commit9ed91eabdd9311f01c2595a60e4b05a5869cc699 (patch)
tree544387e56345164fbca8d0b819f3e9be82f3dea6 /source4/lib/replace/system
parentabee59c0f527c70ecb603ccd9a1cdf9ae95532ef (diff)
downloadsamba-9ed91eabdd9311f01c2595a60e4b05a5869cc699.tar.gz
samba-9ed91eabdd9311f01c2595a60e4b05a5869cc699.tar.bz2
samba-9ed91eabdd9311f01c2595a60e4b05a5869cc699.zip
r25863: libreplace: we need include <unistd.h> before nss_wrapper.h
metze (This used to be commit a16f0e3cdbb9fb1238e25af8bb911c27b839c89b)
Diffstat (limited to 'source4/lib/replace/system')
-rw-r--r--source4/lib/replace/system/passwd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/lib/replace/system/passwd.h b/source4/lib/replace/system/passwd.h
index 513947c85d..36fca7b4f8 100644
--- a/source4/lib/replace/system/passwd.h
+++ b/source4/lib/replace/system/passwd.h
@@ -27,6 +27,9 @@
*/
+/* this needs to be included before nss_wrapper.h on some systems */
+#include <unistd.h>
+
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif