diff --git a/ares/ares__get_hostent.c b/ares/ares__get_hostent.c index 29df0dd98..ca6f2f1c0 100644 --- a/ares/ares__get_hostent.c +++ b/ares/ares__get_hostent.c @@ -30,6 +30,7 @@ #include "ares.h" #include "ares_private.h" +#include "inet_net_pton.h" int ares__get_hostent(FILE *fp, int family, struct hostent **host) {