5 #if HAVE_NETDB_H && (_WITH_IP4 || _WITH_IP6)
6 #include <netdb.h> /* struct hostent, gethostbyname() */
7 +#if !(__UCLIBC__ || __GLIBC__)
8 +#define NETDB_INTERNAL -1
11 #if HAVE_SYS_UN_H && WITH_UNIX
12 #include <sys/un.h> /* struct sockaddr_un, unix domain sockets */
14 #include <netpacket/packet.h>
16 #if HAVE_NETINET_IF_ETHER_H
17 +#if defined(__UCLIBC__) || defined(__GLIBC__)
18 #include <netinet/if_ether.h>
21 #if HAVE_LINUX_IF_TUN_H
22 #include <linux/if_tun.h>