summaryrefslogtreecommitdiffstats
path: root/modules/metadata
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2000-12-01 22:49:26 +0100
committerJeff Trawick <trawick@apache.org>2000-12-01 22:49:26 +0100
commita6978fb91ebc054a1d9443c2f00aa470bed45de9 (patch)
tree574e56944668071b3d66ff0a1251aff53f44ab11 /modules/metadata
parentUse APR_LOCKALL in dexter and mpmt_pthread to serialize poll and accept. This (diff)
downloadapache2-a6978fb91ebc054a1d9443c2f00aa470bed45de9.tar.xz
apache2-a6978fb91ebc054a1d9443c2f00aa470bed45de9.zip
include <strings.h> 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
Diffstat (limited to 'modules/metadata')
-rw-r--r--modules/metadata/mod_cern_meta.c3
-rw-r--r--modules/metadata/mod_expires.c3
-rw-r--r--modules/metadata/mod_headers.c4
-rw-r--r--modules/metadata/mod_usertrack.c4
4 files changed, 14 insertions, 0 deletions
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 <sys/types.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#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 <ctype.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#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 <strings.h>
+#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 <strings.h>
+#endif
+
module AP_MODULE_DECLARE_DATA usertrack_module;
typedef struct {