Changeset 221 for branches/samba-3.3.x/source/lib/replace
- Timestamp:
- May 24, 2009, 7:17:10 AM (16 years ago)
- Location:
- branches/samba-3.3.x/source/lib/replace
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/lib/replace/getifaddrs.c
r206 r221 85 85 int fd, i, n; 86 86 struct ifreq *ifr=NULL; 87 struct in_addr ipaddr;88 struct in_addr nmask;89 char *iname;90 87 struct ifaddrs *curif; 91 88 struct ifaddrs *lastif = NULL; … … 165 162 int fd, i, n; 166 163 struct ifreq *ifr=NULL; 167 struct in_addr ipaddr;168 struct in_addr nmask;169 char *iname;170 164 struct ifaddrs *curif; 171 165 struct ifaddrs *lastif = NULL; … … 266 260 struct ifconf ifc; 267 261 struct ifreq *ifr=NULL; 268 struct in_addr ipaddr;269 struct in_addr nmask;270 char *iname;271 262 struct ifaddrs *curif; 272 263 struct ifaddrs *lastif = NULL; -
branches/samba-3.3.x/source/lib/replace/libreplace_ld.m4
r206 r221 293 293 LIB_PATH_VAR=LD_LIBRARY_PATH 294 294 ;; 295 * netbsd*)295 *bsd*) 296 296 LIB_PATH_VAR=LD_LIBRARY_PATH 297 297 ;; -
branches/samba-3.3.x/source/lib/replace/libreplace_network.m4
r206 r221 8 8 9 9 AC_CHECK_HEADERS(sys/socket.h netinet/in.h netdb.h arpa/inet.h) 10 AC_CHECK_HEADERS(netinet/ip.h netinet/tcp.h netinet/in_systm.h netinet/in_ip.h) 10 AC_CHECK_HEADERS(netinet/in_systm.h) 11 AC_CHECK_HEADERS([netinet/ip.h], [], [], [#ifdef HAVE_NETINET_IN_H 12 #include <netinet/in.h> 13 #endif 14 #ifdef HAVE_NETINET_IN_SYSTM_H 15 #include <netinet/in_systm.h> 16 #endif]) 17 AC_CHECK_HEADERS(netinet/tcp.h netinet/in_ip.h) 11 18 AC_CHECK_HEADERS(sys/sockio.h sys/un.h) 12 19 … … 347 354 #include <sys/types.h> 348 355 #include <netdb.h> 356 #include <netinet/in.h> 349 357 ], 350 358 [
Note:
See TracChangeset
for help on using the changeset viewer.