summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authormetze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818>2007-11-06 06:54:49 +0000
committerStefan Metzmacher <metze@samba.org>2007-11-06 09:38:59 +0100
commitcfb20163a5a6b8a58778c95e53824dcd68938454 (patch)
treeeff55249efb55ff6d4e10d50e7125e8d812dd533 /source3/lib/replace
parentcaa6e6f5440e17fa39d2ae3147885ce311f3d278 (diff)
downloadsamba-cfb20163a5a6b8a58778c95e53824dcd68938454.tar.gz
samba-cfb20163a5a6b8a58778c95e53824dcd68938454.tar.bz2
samba-cfb20163a5a6b8a58778c95e53824dcd68938454.zip
libreplace: we need include <unistd.h> before nss_wrapper.h
metze git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818 (This used to be commit 20ec1f472566bbc570fa138cce5dbd0407aef530)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/system/passwd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/replace/system/passwd.h b/source3/lib/replace/system/passwd.h
index 513947c85d..36fca7b4f8 100644
--- a/source3/lib/replace/system/passwd.h
+++ b/source3/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