since some system header files do their own monkeying around with those
functions in ways that don't get along with us unless we include their
definitions first
examples: gcc 2.8.1 on Solaris
gcc 2.95.2 on AIX
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88113
13f79535-47bb-0310-9956-
ffa450edef68
/* The C library has functions that allow const to be silently dropped ...
these macros detect the drop in maintainer mode, but use the native
methods for normal builds
+
+ Note that on some platforms (e.g., AIX with gcc, Solaris with gcc), string.h needs
+ to be included before the macros are defined or compilation will fail.
*/
+#include <string.h>
+
#ifdef AP_DEBUG
#undef strchr