diff options
author | Jim Jagielski <jim@apache.org> | 2020-10-29 20:34:37 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2020-10-29 20:34:37 +0000 |
commit | c50b26d2e3a359155d693b7f18319e4416c2d04e (patch) | |
tree | 85debb760efc394137cf1f7524f5cc9ffd6fa4ee /build | |
parent | 9d9c6990afaa7ad8eea0be524481bb48a5dd1b09 (diff) | |
download | apr-c50b26d2e3a359155d693b7f18319e4416c2d04e.tar.gz |
inet_addr requires #include <arpa/inet.h>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1882982 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r-- | build/apr_network.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/apr_network.m4 b/build/apr_network.m4 index d330ba16f..55552b5be 100644 --- a/build/apr_network.m4 +++ b/build/apr_network.m4 @@ -157,6 +157,9 @@ AC_DEFUN([APR_CHECK_WORKING_GETNAMEINFO], [ #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif +#ifdef HAVE_ARPA_INET_H +#include <arpa/inet.h> +#endif int main(void) { struct sockaddr_in sa; |