diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-25 15:43:44 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-25 15:43:44 -0700 |
commit | 1870643d20423fcc4df5dc62b1ab75f8a5b2b635 (patch) | |
tree | f8a8839819c9efb00cc6f1dd6b05bcb1282b1b89 | |
parent | 38c34ffd6bcd14314330fd5f2e2a401dbf9cd061 (diff) | |
download | samba-1870643d20423fcc4df5dc62b1ab75f8a5b2b635.tar.gz samba-1870643d20423fcc4df5dc62b1ab75f8a5b2b635.tar.bz2 samba-1870643d20423fcc4df5dc62b1ab75f8a5b2b635.zip |
Try and fix the Solaris build by adding a missing define
(from Jerry).
Jeremy
(This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
-rw-r--r-- | source3/lib/replace/system/network.h | 5 |
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 |