summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-24 12:53:34 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:24 +0100
commit1cfd89c6aa50334b21fb8db16ab79a42679dd54b (patch)
treec3eb010304d021cd83d8320985149ce07d319662 /source4/lib
parent135852240e87743c37a660893834e62a5e54a319 (diff)
downloadsamba-1cfd89c6aa50334b21fb8db16ab79a42679dd54b.tar.gz
samba-1cfd89c6aa50334b21fb8db16ab79a42679dd54b.tar.bz2
samba-1cfd89c6aa50334b21fb8db16ab79a42679dd54b.zip
r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze (This used to be commit a3657a4e7175e35707e7a00330f6924833774253)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/system/network.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index 61de2b728d..79fe21405f 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/lib/replace/system/network.h
@@ -78,13 +78,6 @@
#include <sys/ioctl.h>
#endif
-#ifdef SOCKET_WRAPPER
-#ifndef SOCKET_WRAPPER_NOT_REPLACE
-#define SOCKET_WRAPPER_REPLACE
-#endif
-#include "lib/socket_wrapper/socket_wrapper.h"
-#endif
-
#ifdef REPLACE_INET_NTOA
/* define is in "replace.h" */
char *rep_inet_ntoa(struct in_addr ip);
@@ -241,4 +234,11 @@ typedef unsigned short int sa_family_t;
#define HOST_NAME_MAX 256
#endif
+#ifdef SOCKET_WRAPPER
+#ifndef SOCKET_WRAPPER_NOT_REPLACE
+#define SOCKET_WRAPPER_REPLACE
+#endif
+#include "lib/socket_wrapper/socket_wrapper.h"
+#endif
+
#endif