svn commit: samba r18957 - in
branches/SAMBA_4_0/source/lib/replace/system: .
metze at samba.org
metze at samba.org
Wed Sep 27 14:16:33 GMT 2006
Author: metze
Date: 2006-09-27 14:16:32 +0000 (Wed, 27 Sep 2006)
New Revision: 18957
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18957
Log:
we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl
metze
Modified:
branches/SAMBA_4_0/source/lib/replace/system/network.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/replace/system/network.h
===================================================================
--- branches/SAMBA_4_0/source/lib/replace/system/network.h 2006-09-27 14:10:35 UTC (rev 18956)
+++ branches/SAMBA_4_0/source/lib/replace/system/network.h 2006-09-27 14:16:32 UTC (rev 18957)
@@ -66,6 +66,10 @@
#include <net/if.h>
#endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
#endif
More information about the samba-cvs
mailing list