]> granicus.if.org Git - apache/commitdiff
include <strings.h> for the strcasecmp() and strncasecmp() prototypes;
authorJeff Trawick <trawick@apache.org>
Fri, 1 Dec 2000 21:49:26 +0000 (21:49 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 1 Dec 2000 21:49:26 +0000 (21:49 +0000)
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

modules/mappers/mod_rewrite.c
modules/mappers/mod_speling.c
modules/mappers/mod_vhost_alias.c
modules/metadata/mod_cern_meta.c
modules/metadata/mod_expires.c
modules/metadata/mod_headers.c
modules/metadata/mod_usertrack.c
server/util_filter.c

index d1e8e0625f5c5a3ac54026b79dca085cfa7d2fa5..038c79c79d2b9e437a21fba5646178a9395d75ac 100644 (file)
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 /*
 ** +-------------------------------------------------------+
index ddd1c8c2ccb4eab959d0aa2dac7344a4cc858c8e..c3468038f5ad000f5d28cf308f8efffe41a3bfc2 100644 (file)
 #include "apr_file_io.h"
 #include "apr_strings.h"
 
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
 /* mod_speling.c - by Alexei Kosut <akosut@organic.com> June, 1996
  *
  * This module is transparent, and simple. It attempts to correct
index e45148defc26e70687a95d5515fe6ee08f456715..b31fbf734ccebfc2c5d71e992596a024211b483b 100644 (file)
@@ -82,6 +82,9 @@
 #include "http_core.h"
 #include "http_request.h"  /* for ap_hook_translate_name */
 
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 module AP_MODULE_DECLARE_DATA vhost_alias_module;
 
index f492cd9a6b6cb9cccef8aa494eaaac92319816a1..3a4d4e1c80a95705b86803191b0ea8defb25788a 100644 (file)
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 
 #define DIR_CMD_PERMS OR_INDEXES
 
index 88d5d41ca04e157c82aa5c7ea739b55a313230c9..9f853e16a0a194fdf3737231d5c62b4b4e7986bd 100644 (file)
 #ifdef HAVE_CTYPE_H
 #include <ctype.h>
 #endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
 #include "httpd.h"
 #include "http_config.h"
 #include "http_log.h"
index 641326718e7291b82f38e6c991df5c7fc7f2c183..2c7896cfbbf83a56952fceb00567d068379c1077 100644 (file)
 #include "http_config.h"
 #include "http_request.h"
 
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
 typedef enum {
     hdr_add = 'a',              /* add header (could mean multiple hdrs) */
     hdr_set = 's',              /* set (replace old value) */
index 7d3d2dddfa6ec255827fc86223d8a7d07ec9feb0..811426bab857c2740b8f39867a58f84e9e765049 100644 (file)
 #include "http_request.h"
 #include "apr_strings.h"
 
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
 module AP_MODULE_DECLARE_DATA usertrack_module;
 
 typedef struct {
index 1fdcf019953ca212a57e7c3c997f8aa694f80d6d..06621e334814be811e0b9e386741c75d382c0c55 100644 (file)
 #include "http_log.h"
 #include "util_filter.h"
 
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
 /* ### make this visible for direct manipulation?
  * ### use a hash table
  */