You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
587 B

  1. --- a/sysincludes.h
  2. +++ b/sysincludes.h
  3. @@ -79,6 +79,9 @@
  4. #endif
  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
  9. +#endif
  10. #endif
  11. #if HAVE_SYS_UN_H && WITH_UNIX
  12. #include <sys/un.h> /* struct sockaddr_un, unix domain sockets */
  13. @@ -139,8 +142,10 @@
  14. #include <netpacket/packet.h>
  15. #endif
  16. #if HAVE_NETINET_IF_ETHER_H
  17. +#if defined(__UCLIBC__) || defined(__GLIBC__)
  18. #include <netinet/if_ether.h>
  19. #endif
  20. +#endif
  21. #if HAVE_LINUX_IF_TUN_H
  22. #include <linux/if_tun.h>
  23. #endif