diff options
author | metze <metze@0c0555d6-39d7-0310-84fc-f1cc0bd64818> | 2007-10-24 12:53:34 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-10-25 15:51:51 +0200 |
commit | 8cca849769ba44ab9dc5bd875056987e541b92fe (patch) | |
tree | 0834019d1eabbb084da358ceab378ccb5db16147 /source3/lib/replace/system | |
parent | fac788d6e2fc7e214fc1371cd613d216178aaa80 (diff) | |
download | samba-8cca849769ba44ab9dc5bd875056987e541b92fe.tar.gz samba-8cca849769ba44ab9dc5bd875056987e541b92fe.tar.bz2 samba-8cca849769ba44ab9dc5bd875056987e541b92fe.zip |
[libreplace] include socket_wrapper.h after we have typedef'ed socklen_t
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25713 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit f1d434a132e424f2fdce59d51a7c398988c1474d)
Diffstat (limited to 'source3/lib/replace/system')
-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 |