--- src/names/names.c.orig 2025-09-09 13:34:51 UTC +++ src/names/names.c @@ -19,7 +19,18 @@ #include "config.h" #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