--- a/sysincludes.h +++ b/sysincludes.h @@ -79,6 +79,9 @@ #endif #if HAVE_NETDB_H && (_WITH_IP4 || _WITH_IP6) #include /* struct hostent, gethostbyname() */ +#if !(__UCLIBC__ || __GLIBC__) +#define NETDB_INTERNAL -1 +#endif #endif #if HAVE_SYS_UN_H && WITH_UNIX #include /* struct sockaddr_un, unix domain sockets */ @@ -139,8 +142,10 @@ #include #endif #if HAVE_NETINET_IF_ETHER_H +#if defined(__UCLIBC__) || defined(__GLIBC__) #include #endif +#endif #if HAVE_LINUX_IF_TUN_H #include #endif