From: Jelmer Vernooij Date: Mon, 17 Dec 2007 05:57:30 +0000 (+0100) Subject: r26492: Some hosts have a define called ifa_dstaddr. X-Git-Tag: samba-3.2.0pre2~37^2~160^2~31 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=839d128a42aa624e3cd978700059f947022ee733;p=thirdparty%2Fsamba.git r26492: Some hosts have a define called ifa_dstaddr. (cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd) --- diff --git a/source/lib/replace/system/network.h b/source/lib/replace/system/network.h index 0b5fbcddd1c..e03c991b3cc 100644 --- a/source/lib/replace/system/network.h +++ b/source/lib/replace/system/network.h @@ -109,6 +109,7 @@ struct ifaddrs { unsigned int ifa_flags; /* Interface flags */ struct sockaddr *ifa_addr; /* Interface address */ struct sockaddr *ifa_netmask; /* Interface netmask */ +#undef ifa_dstaddr struct sockaddr *ifa_dstaddr; /* P2P interface destination */ void *ifa_data; /* Address specific data */ };