summaryrefslogtreecommitdiff
path: root/passwd/apr_getpass.c
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 /passwd/apr_getpass.c
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 'passwd/apr_getpass.c')
-rw-r--r--passwd/apr_getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c
index 9a7c5d5b4..bfb6457e4 100644
--- a/passwd/apr_getpass.c
+++ b/passwd/apr_getpass.c
@@ -73,7 +73,7 @@
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
-#ifdef HAVE_STRINGS_H
+#if APR_HAVE_STRINGS_H
#include <strings.h>
#endif