summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-02-07 16:40:54 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2001-02-07 16:40:54 +0000
commita44b3bcff11ab838c7f2acc19911dfa247f1f369 (patch)
tree9cba9b1fb660e6b64078d4bd67bf0581a322586c /helpers
parent59e0b56384f69e74715ae386415bdfcc729c4518 (diff)
downloadlibapr-a44b3bcff11ab838c7f2acc19911dfa247f1f369.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: http://svn.apache.org/repos/asf/apr/apr/trunk@61190 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'helpers')
-rw-r--r--helpers/apr-conf.m43
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