From 6127cc7953e53dbec7fd5759ddfcf136c8fad696 Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Wed, 19 Apr 2000 16:20:07 +0000 Subject: [PATCH] Provide prototypes for the provided strcasecmp & strncasecmp. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84996 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/httpd.h b/include/httpd.h index 40895401bf..df0023cd7b 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -942,6 +942,14 @@ API_EXPORT(char *) ap_pbase64encode(ap_pool_t *p, char *string); API_EXPORT(char *) ap_uudecode(ap_pool_t *p, const char *bufcoded); API_EXPORT(char *) ap_uuencode(ap_pool_t *p, char *string); +#ifndef HAVE_STRCASECMP +int strcasecmp(const char *a, const char *b); +#endif + +#ifndef HAVE_STRNCASECMP +int strncasecmp(const char *a, const char *b, int n); +#endif + /* Regexes */ #if defined(AP_USE_HSREGEX) || defined(WIN32) #include "hsregex.h" -- 2.40.0