summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-06-13 21:36:18 +0000
committerJeff Trawick <trawick@apache.org>2000-06-13 21:36:18 +0000
commita9746375cfdb85a190df8277959844f66d69c372 (patch)
tree2163fc01373ff81b88f11da8c4fc82708ce3edfe /support
parent20641b5303445dda4b029b1159ada22f9a94753a (diff)
downloadhttpd-a9746375cfdb85a190df8277959844f66d69c372.tar.gz
Get the ap_config.h cleanup working on FreeBSD by adding includes of
additional system headers. A platform check in logresolve.c to determine whether or not we include <arpa/inet.h> was converted to a feature check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85567 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/logresolve.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/support/logresolve.c b/support/logresolve.c
index bce7bedd22..d21177c36b 100644
--- a/support/logresolve.c
+++ b/support/logresolve.c
@@ -47,8 +47,13 @@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
-
-#if !defined(MPE) && !defined(BEOS) && !defined(WIN32)
+#ifdef HAVE_NETINET_IN_H
+#include <netinet/in.h>
+#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif