From: Jeff Trawick Date: Sat, 10 Feb 2001 22:21:23 +0000 (+0000) Subject: more module build cleanup, removing warnings and some X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b95c261a59524dc7ac2c127a7734dba630657b05;p=apache more module build cleanup, removing warnings and some link errors (from when apr_ ctype macros weren't available) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88070 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/STATUS b/STATUS index 745d0bcc20..f8fffcbe6e 100644 --- a/STATUS +++ b/STATUS @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2001/02/10 00:33:36 $] +Last modified at [$Date: 2001/02/10 22:21:22 $] Release: @@ -178,6 +178,8 @@ RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP: * shift stuff to mod_core.h + * APR-ize resolver stuff in mod_unique_id (Jeff volunteers) + PRs that have been suspended forever waiting for someone to put them into 'the next release': diff --git a/modules/aaa/mod_auth_db.c b/modules/aaa/mod_auth_db.c index efde731acd..1efc977d64 100644 --- a/modules/aaa/mod_auth_db.c +++ b/modules/aaa/mod_auth_db.c @@ -100,6 +100,9 @@ #include "http_log.h" #include "http_protocol.h" #include "http_request.h" /* for ap_hook_(check_user_id | auth_check) */ +#include "apr_lib.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" #ifdef HAVE_DB_H #include #endif diff --git a/modules/aaa/mod_auth_dbm.c b/modules/aaa/mod_auth_dbm.c index 27e9d43590..fed27ec0b4 100644 --- a/modules/aaa/mod_auth_dbm.c +++ b/modules/aaa/mod_auth_dbm.c @@ -77,6 +77,8 @@ #include "http_protocol.h" #include "http_request.h" /* for ap_hook_(check_user_id | auth_checker)*/ #include "apr_lib.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" #if defined(AP_AUTH_DBM_USE_APR) #include "apr_dbm.h" diff --git a/modules/generators/mod_status.c b/modules/generators/mod_status.c index 4738ab5f34..89cea21e8c 100644 --- a/modules/generators/mod_status.c +++ b/modules/generators/mod_status.c @@ -109,6 +109,8 @@ #if APR_HAVE_UNISTD_H #include #endif +#define APR_WANT_STRFUNC +#include "apr_want.h" #ifdef NEXT #if (NX_CURRENT_COMPILER_RELEASE == 410) diff --git a/modules/metadata/mod_mime_magic.c b/modules/metadata/mod_mime_magic.c index 67eb4409e2..33d507f913 100644 --- a/modules/metadata/mod_mime_magic.c +++ b/modules/metadata/mod_mime_magic.c @@ -126,6 +126,9 @@ #include "apr.h" #include "apr_strings.h" +#include "apr_lib.h" +#define APR_WANT_STRFUNC +#include "apr_want.h" #if APR_HAVE_UNISTD_H #include diff --git a/modules/metadata/mod_unique_id.c b/modules/metadata/mod_unique_id.c index 385cf8a2d1..9fd0d2dca9 100644 --- a/modules/metadata/mod_unique_id.c +++ b/modules/metadata/mod_unique_id.c @@ -70,6 +70,15 @@ #include "http_log.h" #include "http_protocol.h" /* for ap_hook_post_read_request */ +#if APR_HAVE_NETDB_H +#include +#endif +#if APR_HAVE_ARPA_INET_H +#include +#endif +#if APR_HAVE_UNISTD_H +#include +#endif typedef struct { unsigned int stamp;