summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-12-22 16:54:57 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2000-12-22 16:54:57 +0000
commitc3c7d53ce0c281a9f456679c64fb1b9e1e0bf1e0 (patch)
treecd4b74ad52a55f5e452706b4c322c5859e48a270 /strings
parent8273c91f8f198f37403d26fc0374f14e99611dce (diff)
downloadlibapr-c3c7d53ce0c281a9f456679c64fb1b9e1e0bf1e0.tar.gz
These two patches for apr and apr-util fix compile warnings on Solaris for
str* and mem* functions. This fixes all of them. APR_HAVE_STRINGS_H is now defined in apr.h. Submitted by: Dale Ghent <daleg@elemental.org> Reviewed by: Jeff Trawick git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60987 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'strings')
-rw-r--r--strings/apr_strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/apr_strings.c b/strings/apr_strings.c
index 628c73ab1..15b3c408c 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -59,7 +59,7 @@
#ifdef HAVE_STDDEF_H
#include <stddef.h> /* NULL */
#endif
-#ifdef HAVE_STRINGS_H
+#if APR_HAVE_STRINGS_H
#include <strings.h>
#endif