summaryrefslogtreecommitdiff
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
commit354ddf6c57f555f9c98c89a728a77ced8c30ce3d (patch)
treefbfa40aa96d3c0b22998a051cf6bf92842c1316d
parentebc2f440e79677a3d25e99f9a9f154e05ec67226 (diff)
downloadsamba-354ddf6c57f555f9c98c89a728a77ced8c30ce3d.tar.gz
samba-354ddf6c57f555f9c98c89a728a77ced8c30ce3d.tar.bz2
samba-354ddf6c57f555f9c98c89a728a77ced8c30ce3d.zip
r19179: remove difference with samba4
metze (This used to be commit e97e1ffea8e124c8001cf33ecac7500ae875f42f)
-rw-r--r--source3/lib/socket_wrapper/socket_wrapper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/socket_wrapper/socket_wrapper.c b/source3/lib/socket_wrapper/socket_wrapper.c
index 20205b8f9e..3a72c5a74a 100644
--- a/source3/lib/socket_wrapper/socket_wrapper.c
+++ b/source3/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 { \