--- src/names/names.c.orig 2017-03-18 16:11:42 UTC +++ src/names/names.c @@ -19,7 +19,18 @@ #include #endif +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_NETINET_IN_H #include +#endif +#ifdef HAVE_ARPA_INET_H +#include +#endif #ifdef HAVE_UNISTD_H #include #endif