summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLove Hörnquist Åstrand <lha@samba.org>2006-10-08 21:45:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:50 -0500
commit9058263a6bf8d44dc8e822d0f7b871b8f1a92bc1 (patch)
tree5144f7b22cf5d3fa87527895100a08991efbbe0b
parent5b34e585fc4b334ee4e1978bccfc39125c8408d7 (diff)
downloadsamba-9058263a6bf8d44dc8e822d0f7b871b8f1a92bc1.tar.gz
samba-9058263a6bf8d44dc8e822d0f7b871b8f1a92bc1.tar.bz2
samba-9058263a6bf8d44dc8e822d0f7b871b8f1a92bc1.zip
r19176: Also require <fcntl.h> and <sys/ioctl.h> for non samba builds.
(This used to be commit fe621c1ab277407fb62ad7bced829815b6625f22)
-rw-r--r--source4/lib/socket_wrapper/socket_wrapper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/socket_wrapper/socket_wrapper.c b/source4/lib/socket_wrapper/socket_wrapper.c
index d2ef84ac22..e3c0592085 100644
--- a/source4/lib/socket_wrapper/socket_wrapper.c
+++ b/source4/lib/socket_wrapper/socket_wrapper.c
@@ -65,10 +65,12 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
+#include <sys/ioctl.h>
#include <errno.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
+#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>