summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-09 08:24:36 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:50 +0100
commit319ecac5b12dd183b657cb6f5bee2dbbdd013e35 (patch)
treefae58312087cea79d2c5bc27813bde368f0d1ff3 /source4/lib
parenta4a7447f130d144317e9b7d110ea20f046cd708f (diff)
downloadsamba-319ecac5b12dd183b657cb6f5bee2dbbdd013e35.tar.gz
samba-319ecac5b12dd183b657cb6f5bee2dbbdd013e35.tar.bz2
samba-319ecac5b12dd183b657cb6f5bee2dbbdd013e35.zip
r25910: Try and fix the Solaris build by adding a missing define
(from Jerry). Jeremy merge from v3-2-test commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6 (This used to be commit b833dce5e6d6475a04538d9754b9b0bfeb5915e4)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/system/network.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/lib/replace/system/network.h b/source4/lib/replace/system/network.h
index c7b499a932..d3ae2bf398 100644
--- a/source4/lib/replace/system/network.h
+++ b/source4/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