Author: metze Date: 2007-10-24 12:53:34 +0000 (Wed, 24 Oct 2007) New Revision: 25713
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25713 Log: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_t metze Modified: branches/SAMBA_4_0/source/lib/replace/system/network.h Changeset: Modified: branches/SAMBA_4_0/source/lib/replace/system/network.h =================================================================== --- branches/SAMBA_4_0/source/lib/replace/system/network.h 2007-10-24 09:15:26 UTC (rev 25712) +++ branches/SAMBA_4_0/source/lib/replace/system/network.h 2007-10-24 12:53:34 UTC (rev 25713) @@ -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 @@ #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