summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-17 06:57:30 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:50:47 +0100
commitaf3c0b932402b5eb07121d1ea30570fe5b9d171c (patch)
tree4185d54cf6785e6ed1b6df499d58ea54234cb967 /source4/lib/replace/system
parent463d1f68d5fa0691c1919a10ff582d6e92facab9 (diff)
downloadsamba-af3c0b932402b5eb07121d1ea30570fe5b9d171c.tar.gz
samba-af3c0b932402b5eb07121d1ea30570fe5b9d171c.tar.bz2
samba-af3c0b932402b5eb07121d1ea30570fe5b9d171c.zip
r26492: Some hosts have a define called ifa_dstaddr.
(This used to be commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
Diffstat (limited to 'source4/lib/replace/system')
-rw-r--r--source4/lib/replace/system/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index b8228687e3..c340cca657 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/lib/replace/system/network.h
@@ -105,6 +105,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 */
};