summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-25 16:22:40 -0700
committerJeremy Allison <jra@samba.org>2007-10-25 16:22:40 -0700
commite6fcfdb54eb75d69370d1af276e478b15a15d855 (patch)
treee59a4dc8eeea6d30d3146940363d65229862d8a2 /source3/lib
parentd58398bd2366a7fb4625f2d42dd6f5a5b953d5ca (diff)
parent1870643d20423fcc4df5dc62b1ab75f8a5b2b635 (diff)
downloadsamba-e6fcfdb54eb75d69370d1af276e478b15a15d855.tar.gz
samba-e6fcfdb54eb75d69370d1af276e478b15a15d855.tar.bz2
samba-e6fcfdb54eb75d69370d1af276e478b15a15d855.zip
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit ec891be53cc4042baf418c1f7b037a11e5055273)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/system/network.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/replace/system/network.h b/source3/lib/replace/system/network.h
index c7b499a932..d3ae2bf398 100644
--- a/source3/lib/replace/system/network.h
+++ b/source3/lib/replace/system/network.h
@@ -247,6 +247,11 @@ struct addrinfo {
#include "getaddrinfo.h"
#endif
+/* Needed for some systems that don't define it (Solaris). */
+#ifndef ifr_netmask
+#define ifr_netmask ifr_addrs
+#endif
+
#ifdef SOCKET_WRAPPER
#ifndef SOCKET_WRAPPER_NOT_REPLACE
#define SOCKET_WRAPPER_REPLACE