summaryrefslogtreecommitdiff
path: root/source3/lib/replace/system
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-27 12:43:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:14:50 -0500
commitcb99b612f874bd1d88e50ff1f2c0331cd56e72ca (patch)
treebdead12aad4c23f91b4999612e72a3942f8c2e25 /source3/lib/replace/system
parentcf5ab86a65bf447174d17198286d8f4ae999e967 (diff)
downloadsamba-cb99b612f874bd1d88e50ff1f2c0331cd56e72ca.tar.gz
samba-cb99b612f874bd1d88e50ff1f2c0331cd56e72ca.tar.bz2
samba-cb99b612f874bd1d88e50ff1f2c0331cd56e72ca.zip
r18953: sync socket_wrapper with samba4
metze (This used to be commit 77b0af43f0f7e52b9040a1d3edfb556a232e64f1)
Diffstat (limited to 'source3/lib/replace/system')
-rw-r--r--source3/lib/replace/system/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index 615fcab5c8..a21f8e2eaf 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/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