diff options
author | Ryan Bloom <rbb@apache.org> | 2001-02-07 16:40:54 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2001-02-07 16:40:54 +0000 |
commit | 54f80c577d74fc3056a044d93edf83c38a5c84f7 (patch) | |
tree | 9cba9b1fb660e6b64078d4bd67bf0581a322586c /helpers | |
parent | 06d82a8eda540c3a2e19c769fe20ddc9c648779b (diff) | |
download | apr-54f80c577d74fc3056a044d93edf83c38a5c84f7.tar.gz |
Fix a problem in configure with the getaddrinfo check. We need to include
sys/types.h for some platforms.
PR: 7065
Submitted by: jun-ichiro hagino <itojun@kame.net>
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/apr-conf.m4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/helpers/apr-conf.m4 b/helpers/apr-conf.m4 index cc0110439..36ce38fc0 100644 --- a/helpers/apr-conf.m4 +++ b/helpers/apr-conf.m4 @@ -204,6 +204,9 @@ AC_DEFUN(APR_CHECK_WORKING_GETADDRINFO,[ #ifdef HAVE_STRING_H #include <string.h> #endif +#ifdef HAVE_SYS_TYPES_H +#include <sys/types.h> +#endif #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif |