From: Jeff Trawick Date: Fri, 1 Dec 2000 21:49:26 +0000 (+0000) Subject: include for the strcasecmp() and strncasecmp() prototypes; X-Git-Tag: moving_to_httpd_module~21 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a6978fb91ebc054a1d9443c2f00aa470bed45de9;p=apache include for the strcasecmp() and strncasecmp() prototypes; AIX doesn't have prototypes for these in string.h git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87149 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index d1e8e0625f..038c79c79d 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -122,6 +122,9 @@ #ifdef HAVE_UNISTD_H #include #endif +#ifdef HAVE_STRINGS_H +#include +#endif /* ** +-------------------------------------------------------+ diff --git a/modules/mappers/mod_speling.c b/modules/mappers/mod_speling.c index ddd1c8c2cc..c3468038f5 100644 --- a/modules/mappers/mod_speling.c +++ b/modules/mappers/mod_speling.c @@ -66,6 +66,10 @@ #include "apr_file_io.h" #include "apr_strings.h" +#ifdef HAVE_STRINGS_H +#include +#endif + /* mod_speling.c - by Alexei Kosut June, 1996 * * This module is transparent, and simple. It attempts to correct diff --git a/modules/mappers/mod_vhost_alias.c b/modules/mappers/mod_vhost_alias.c index e45148defc..b31fbf734c 100644 --- a/modules/mappers/mod_vhost_alias.c +++ b/modules/mappers/mod_vhost_alias.c @@ -82,6 +82,9 @@ #include "http_core.h" #include "http_request.h" /* for ap_hook_translate_name */ +#ifdef HAVE_STRINGS_H +#include +#endif module AP_MODULE_DECLARE_DATA vhost_alias_module; diff --git a/modules/metadata/mod_cern_meta.c b/modules/metadata/mod_cern_meta.c index f492cd9a6b..3a4d4e1c80 100644 --- a/modules/metadata/mod_cern_meta.c +++ b/modules/metadata/mod_cern_meta.c @@ -160,6 +160,9 @@ #ifdef HAVE_SYS_TYPES_H #include #endif +#ifdef HAVE_STRINGS_H +#include +#endif #define DIR_CMD_PERMS OR_INDEXES diff --git a/modules/metadata/mod_expires.c b/modules/metadata/mod_expires.c index 88d5d41ca0..9f853e16a0 100644 --- a/modules/metadata/mod_expires.c +++ b/modules/metadata/mod_expires.c @@ -197,6 +197,9 @@ #ifdef HAVE_CTYPE_H #include #endif +#ifdef HAVE_STRINGS_H +#include +#endif #include "httpd.h" #include "http_config.h" #include "http_log.h" diff --git a/modules/metadata/mod_headers.c b/modules/metadata/mod_headers.c index 641326718e..2c7896cfbb 100644 --- a/modules/metadata/mod_headers.c +++ b/modules/metadata/mod_headers.c @@ -107,6 +107,10 @@ #include "http_config.h" #include "http_request.h" +#ifdef HAVE_STRINGS_H +#include +#endif + typedef enum { hdr_add = 'a', /* add header (could mean multiple hdrs) */ hdr_set = 's', /* set (replace old value) */ diff --git a/modules/metadata/mod_usertrack.c b/modules/metadata/mod_usertrack.c index 7d3d2dddfa..811426bab8 100644 --- a/modules/metadata/mod_usertrack.c +++ b/modules/metadata/mod_usertrack.c @@ -106,6 +106,10 @@ #include "http_request.h" #include "apr_strings.h" +#ifdef HAVE_STRINGS_H +#include +#endif + module AP_MODULE_DECLARE_DATA usertrack_module; typedef struct { diff --git a/server/util_filter.c b/server/util_filter.c index 1fdcf01995..06621e3348 100644 --- a/server/util_filter.c +++ b/server/util_filter.c @@ -56,6 +56,10 @@ #include "http_log.h" #include "util_filter.h" +#ifdef HAVE_STRINGS_H +#include +#endif + /* ### make this visible for direct manipulation? * ### use a hash table */