From: Jeff Trawick Date: Sat, 10 Feb 2001 15:01:16 +0000 (+0000) Subject: get rid of some warnings and an undefined reference which crept into X-Git-Tag: 2.0.10~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f548be18dfdde9797c3f6d3f8cd3cbed93f44b9;p=apache get rid of some warnings and an undefined reference which crept into some modules overnight git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88063 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_charset_lite.c b/modules/experimental/mod_charset_lite.c index 5d6de1ba4d..da3d19b9f7 100644 --- a/modules/experimental/mod_charset_lite.c +++ b/modules/experimental/mod_charset_lite.c @@ -78,6 +78,9 @@ #include "apr_buckets.h" #include "util_filter.h" #include "apr_strings.h" +#include "apr_lib.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" #ifndef APACHE_XLATE #error mod_charset_lite cannot work without APACHE_XLATE enabled diff --git a/modules/experimental/mod_ext_filter.c b/modules/experimental/mod_ext_filter.c index 79b92fb163..fd96608fc6 100644 --- a/modules/experimental/mod_ext_filter.c +++ b/modules/experimental/mod_ext_filter.c @@ -69,9 +69,9 @@ #include "util_filter.h" #include "apr_strings.h" #include "apr_hash.h" -#if APR_HAVE_STRINGS_H -#include -#endif +#include "apr_lib.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" typedef struct ef_server_t { apr_pool_t *p; diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index a8af1bcbfa..ccdfdc12cc 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -91,10 +91,9 @@ #include "http_main.h" #include "http_protocol.h" #include "util_script.h" - -#if APR_HAVE_STRINGS_H -#include -#endif +#include "apr_lib.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" typedef struct { const char *name; /* matching module name */