From 70a4fae036f14a1f34bdfa29d0627b631aa6d286 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Tue, 18 Jan 2000 23:41:56 +0000 Subject: [PATCH] This is a huge change to the configure system. Basically, this name space protects most, if not all, of the Apache macros. This has been tested on Linux using all of the Unix MPM's. The biggest push was that Apache's httpd.h header file can no longer include the ap_config.h file. Most of the other files include this themselves now. Submitted by: Ryan Bloom and Manoj Kasichainula git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84492 13f79535-47bb-0310-9956-ffa450edef68 --- modules/aaa/mod_access.c | 2 ++ modules/aaa/mod_auth_digest.c | 1 - modules/echo/mod_echo.c | 1 + modules/filters/mod_include.c | 3 +++ modules/generators/mod_asis.c | 2 ++ modules/generators/mod_autoindex.c | 1 + modules/generators/mod_cgi.c | 2 ++ modules/generators/mod_status.c | 4 ++-- modules/http/mod_mime.c | 4 +++- modules/mappers/mod_dir.c | 2 +- modules/mappers/mod_imap.c | 1 + modules/mappers/mod_negotiation.c | 10 +++++++--- modules/mappers/mod_userdir.c | 6 ++++++ modules/metadata/mod_env.c | 1 + 14 files changed, 32 insertions(+), 8 deletions(-) diff --git a/modules/aaa/mod_access.c b/modules/aaa/mod_access.c index 08639abfd1..0464598551 100644 --- a/modules/aaa/mod_access.c +++ b/modules/aaa/mod_access.c @@ -62,11 +62,13 @@ * */ +#include "apr_network_io.h" #include "httpd.h" #include "http_core.h" #include "http_config.h" #include "http_log.h" #include "http_request.h" +#include enum allowdeny_type { T_ENV, diff --git a/modules/aaa/mod_auth_digest.c b/modules/aaa/mod_auth_digest.c index 9159eaa7bd..967a58c471 100644 --- a/modules/aaa/mod_auth_digest.c +++ b/modules/aaa/mod_auth_digest.c @@ -125,7 +125,6 @@ #include "http_request.h" #include "http_log.h" #include "http_protocol.h" -#include "ap_config.h" #include "ap_ctype.h" #include "util_uri.h" #include "util_md5.h" diff --git a/modules/echo/mod_echo.c b/modules/echo/mod_echo.c index 9fa543de95..d622c93de5 100644 --- a/modules/echo/mod_echo.c +++ b/modules/echo/mod_echo.c @@ -1,3 +1,4 @@ +#include "ap_mmn.h" #include "httpd.h" #include "http_config.h" #include "http_connection.h" diff --git a/modules/filters/mod_include.c b/modules/filters/mod_include.c index c48241bb10..2931d805e2 100644 --- a/modules/filters/mod_include.c +++ b/modules/filters/mod_include.c @@ -92,6 +92,9 @@ #include "http_log.h" #include "http_main.h" #include "util_script.h" +#include +#include +#include #endif #define STARTING_SEQUENCE "