Author: metze Date: 2007-10-24 13:01:03 +0000 (Wed, 24 Oct 2007) New Revision: 25718
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25718 Log: [libreplace] if we replace types define the HAVE_<type> macro this is needed as heimdal's roken.h also tries to replace the types 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 12:59:09 UTC (rev 25717) +++ branches/SAMBA_4_0/source/lib/replace/system/network.h 2007-10-24 13:01:03 UTC (rev 25718) @@ -202,10 +202,12 @@ #endif #ifndef HAVE_SOCKLEN_T +#define HAVE_SOCKLEN_T typedef int socklen_t; #endif #ifndef HAVE_SA_FAMILY_T +#define HAVE_SA_FAMILY_T typedef unsigned short int sa_family_t; #endif @@ -220,6 +222,7 @@ #endif #ifndef HAVE_STRUCT_ADDRINFO +#define HAVE_STRUCT_ADDRINFO struct addrinfo { int ai_flags; int ai_family;