summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-27 10:13:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:23 -0500
commit174742a74ce448d1944ada9dd602aadf20bce6f8 (patch)
tree672f8a13af40ac57988a35a15ec1e40a494fc948 /source4/lib/replace/system
parentee97148354090aa63b99abc02fe2811bf18a549e (diff)
downloadsamba-174742a74ce448d1944ada9dd602aadf20bce6f8.tar.gz
samba-174742a74ce448d1944ada9dd602aadf20bce6f8.tar.bz2
samba-174742a74ce448d1944ada9dd602aadf20bce6f8.zip
r18947: overload listen() and ioctl() in socket_wrapper
metze (This used to be commit dfaccdca1b6954cd61828749d7b000f804f3b066)
Diffstat (limited to 'source4/lib/replace/system')
-rw-r--r--source4/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index 615fcab5c8..a21f8e2eaf 100644
--- 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_SYS_IOCTL_H
+#include <sys/ioctl.h>
+#endif
+
#ifdef SOCKET_WRAPPER
#ifndef SOCKET_WRAPPER_NOT_REPLACE
#define SOCKET_WRAPPER_REPLACE