Author: metze
Date: 2007-11-06 06:54:49 +0000 (Tue, 06 Nov 2007)
New Revision: 25863

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25863

Log:
libreplace: we need include <unistd.h> before nss_wrapper.h

metze
Modified:
   branches/SAMBA_4_0/source/lib/replace/system/passwd.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/system/passwd.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/system/passwd.h       2007-11-06 
05:11:16 UTC (rev 25862)
+++ branches/SAMBA_4_0/source/lib/replace/system/passwd.h       2007-11-06 
06:54:49 UTC (rev 25863)
@@ -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

Reply via email to