summaryrefslogtreecommitdiff
path: root/source3/lib/replace
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-17 06:57:30 +0100
committerMichael Adam <obnox@samba.org>2008-02-19 21:58:50 +0100
commitea9ce8f9ac44867403673012cd0979f21cf50a27 (patch)
tree3a2baf4ffbdacf7bbdfc118f0f6e9890180794f2 /source3/lib/replace
parent5fb2d5b0863e507c43462eb3913f2a16ef14c52a (diff)
downloadsamba-ea9ce8f9ac44867403673012cd0979f21cf50a27.tar.gz
samba-ea9ce8f9ac44867403673012cd0979f21cf50a27.tar.bz2
samba-ea9ce8f9ac44867403673012cd0979f21cf50a27.zip
r26492: Some hosts have a define called ifa_dstaddr.
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd) (This used to be commit 839d128a42aa624e3cd978700059f947022ee733)
Diffstat (limited to 'source3/lib/replace')
-rw-r--r--source3/lib/replace/system/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index 0b5fbcddd1..e03c991b3c 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/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 */
};