------------------------------------------------------------------------ r1882981 | jim | 2020-10-29 21:32:54 +0100 (Thu, 29 Oct 2020) | 5 lines #ifdef HAVE_ARPA_INET_H #include #endif is required for inet_addr ------------------------------------------------------------------------ diff --git a/build/apr_network.m4 b/build/apr_network.m4 index f70431a800f2dfdd..ba7bf9aa2497df82 100644 --- a/build/apr_network.m4 +++ b/build/apr_network.m4 @@ -160,6 +160,9 @@ AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO], [ #ifdef HAVE_NETINET_IN_H #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif #ifdef HAVE_STDLIB_H #include #endif