diff options
Diffstat (limited to 'source3/lib/replace/system/network.h')
-rw-r--r-- | source3/lib/replace/system/network.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h index 61de2b728d..79fe21405f 100644 --- a/source3/lib/replace/system/network.h +++ b/source3/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 |