summaryrefslogtreecommitdiffstats
path: root/modules/loggers
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-01-19 03:42:17 +0100
committerRyan Bloom <rbb@apache.org>2000-01-19 03:42:17 +0100
commit505fa49a3adcc291fab161d55a3e2ff131dfa0bf (patch)
tree6b4b3fd72accf478baac82df6d28efeafc865240 /modules/loggers
parentCleanup a few things with the compile. There were also a few macro name (diff)
downloadapache2-505fa49a3adcc291fab161d55a3e2ff131dfa0bf.tar.xz
apache2-505fa49a3adcc291fab161d55a3e2ff131dfa0bf.zip
Manoj has been pushing for this for a while, but I've been too dense
to understand that he was right. :-) Basically, this makes the modules use ap_config to test for header file inclusion. This method is not to be used for larger modules that run autoconf theirselves. Including ap_config is only valid for modules which rely on Apache to do their configuration. Currently, this is only the core modules. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84497 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/loggers')
-rw-r--r--modules/loggers/mod_log_config.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/loggers/mod_log_config.c b/modules/loggers/mod_log_config.c
index a25d6253d8..43e8510470 100644
--- a/modules/loggers/mod_log_config.c
+++ b/modules/loggers/mod_log_config.c
@@ -169,12 +169,15 @@
#define DEFAULT_LOG_FORMAT "%h %l %u %t \"%r\" %>s %b"
+#include "ap_config.h"
#include "httpd.h"
#include "http_config.h"
#include "http_core.h" /* For REMOTE_NAME */
#include "http_log.h"
#include "http_protocol.h"
+#ifdef HAVE_LIMITS_H
#include <limits.h>
+#endif
module MODULE_VAR_EXPORT config_log_module;