git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09504a
)
r18957: we need to include unistd.h in system/network.h because
author
Stefan Metzmacher
<metze@samba.org>
Wed, 27 Sep 2006 14:16:32 +0000
(14:16 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:20:24 +0000
(14:20 -0500)
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
(This used to be commit
f37b13cbe65404f27d31b8020afb2f542313f4d3
)
source4/lib/replace/system/network.h
patch
|
blob
|
history
diff --git
a/source4/lib/replace/system/network.h
b/source4/lib/replace/system/network.h
index a21f8e2eaf43a51e5067d9a9631bd0bcf3f4148e..5e648dcd156c78a268e5292d052bc3104ce16db5 100644
(file)
--- a/
source4/lib/replace/system/network.h
+++ b/
source4/lib/replace/system/network.h
@@
-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