You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ji...@apache.org on 2020/10/29 20:32:54 UTC

svn commit: r1882981 - /apr/apr/branches/1.7.x/build/apr_network.m4

Author: jim
Date: Thu Oct 29 20:32:54 2020
New Revision: 1882981

URL: http://svn.apache.org/viewvc?rev=1882981&view=rev
Log:
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
is required for inet_addr

Modified:
    apr/apr/branches/1.7.x/build/apr_network.m4

Modified: apr/apr/branches/1.7.x/build/apr_network.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/build/apr_network.m4?rev=1882981&r1=1882980&r2=1882981&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/build/apr_network.m4 (original)
+++ apr/apr/branches/1.7.x/build/apr_network.m4 Thu Oct 29 20:32:54 2020
@@ -154,6 +154,9 @@ AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO]
 #ifdef HAVE_NETINET_IN_H
 #include <netinet/in.h>
 #endif
+#ifdef HAVE_ARPA_INET_H
+#include <arpa/inet.h>
+#endif
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif