From e38702601d37f3a2c6ec755ad7971baf4b712d1d Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Thu, 15 Jun 2000 13:42:01 +0000 Subject: [PATCH] Include the proper header file (under X/Open, at least) for ntohs() in a couple of modules. This lets us link-edit successfully again on OS/390. (OS/390 only has the macro form of these functions.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85580 13f79535-47bb-0310-9956-ffa450edef68 --- modules/http/http_core.c | 3 +++ server/util_script.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/modules/http/http_core.c b/modules/http/http_core.c index bf194cefe1..dc854ac186 100644 --- a/modules/http/http_core.c +++ b/modules/http/http_core.c @@ -79,6 +79,9 @@ #ifdef HAVE_SYS_SOCKET_H #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif /* Allow Apache to use ap_mmap */ #ifdef USE_MMAP_FILES diff --git a/server/util_script.c b/server/util_script.c index ea131cef0d..598071a685 100644 --- a/server/util_script.c +++ b/server/util_script.c @@ -74,6 +74,9 @@ #ifdef HAVE_STRING_H #include #endif +#ifdef HAVE_ARPA_INET_H +#include +#endif #ifdef OS2 #define INCL_DOS -- 2.50.1