summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-08 21:54:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:20 -0500
commite97e1ffea8e124c8001cf33ecac7500ae875f42f (patch)
tree6d984819e8e0663df424930db8d67e1e93a54992
parentbc7b2e8db8fb34d6f321cd6b13b74e58945d7124 (diff)
downloadsamba-e97e1ffea8e124c8001cf33ecac7500ae875f42f.tar.gz
samba-e97e1ffea8e124c8001cf33ecac7500ae875f42f.tar.xz
samba-e97e1ffea8e124c8001cf33ecac7500ae875f42f.zip
r19179: remove difference with samba4
metze
-rw-r--r--source/lib/socket_wrapper/socket_wrapper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/lib/socket_wrapper/socket_wrapper.c b/source/lib/socket_wrapper/socket_wrapper.c
index 20205b8f9ee..3a72c5a74a0 100644
--- a/source/lib/socket_wrapper/socket_wrapper.c
+++ b/source/lib/socket_wrapper/socket_wrapper.c
@@ -61,15 +61,19 @@
#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>
#include <stdio.h>
+#define _PUBLIC_
+
#endif
#define SWRAP_DLIST_ADD(list,item) do { \