Skip to content

Commit 97dfe8d

Browse files
committed
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h> #endif is required for inet_addr git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1882981 13f79535-47bb-0310-9956-ffa450edef68
1 parent 6a6bea0 commit 97dfe8d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/apr_network.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO], [
154154
#ifdef HAVE_NETINET_IN_H
155155
#include <netinet/in.h>
156156
#endif
157+
#ifdef HAVE_ARPA_INET_H
158+
#include <arpa/inet.h>
159+
#endif
157160
#ifdef HAVE_STDLIB_H
158161
#include <stdlib.h>
159162
#endif

0 commit comments

Comments
 (0)