network_core.h
changeset 1687 521050dcd91e
parent 1507 18cb39ddddfd
child 1810 8a574d47872b
equal deleted inserted replaced
1686:37f64f8b0641 1687:521050dcd91e
    56 #		include <netinet/tcp.h>
    56 #		include <netinet/tcp.h>
    57 #		include <arpa/inet.h>
    57 #		include <arpa/inet.h>
    58 #		include <net/if.h>
    58 #		include <net/if.h>
    59 // According to glibc/NEWS, <ifaddrs.h> appeared in glibc-2.3.
    59 // According to glibc/NEWS, <ifaddrs.h> appeared in glibc-2.3.
    60 #		if !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) \
    60 #		if !defined(SUNOS) && !defined(__MORPHOS__) && !defined(__BEOS__) \
    61 		   && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2))
    61 		   && !(defined(__GLIBC__) && (__GLIBC__ <= 2) && (__GLIBC_MINOR__ <= 2)) && !defined(__dietlibc__)
    62 // If for any reason ifaddrs.h does not exist on your system, comment out
    62 // If for any reason ifaddrs.h does not exist on your system, comment out
    63 //   the following two lines and an alternative way will be used to fetch
    63 //   the following two lines and an alternative way will be used to fetch
    64 //   the list of IPs from the system.
    64 //   the list of IPs from the system.
    65 #			include <ifaddrs.h>
    65 #			include <ifaddrs.h>
    66 #			define HAVE_GETIFADDRS
    66 #			define HAVE_GETIFADDRS