summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passwd/apr_getpass.c3
-rw-r--r--strings/apr_strings.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/passwd/apr_getpass.c b/passwd/apr_getpass.c
index bfb6457e4..92d849b17 100644
--- a/passwd/apr_getpass.c
+++ b/passwd/apr_getpass.c
@@ -73,6 +73,9 @@
#if HAVE_STDLIB_H
#include <stdlib.h>
#endif
+#if APR_HAVE_STRING_H
+#include <string.h>
+#endif
#if APR_HAVE_STRINGS_H
#include <strings.h>
#endif
diff --git a/strings/apr_strings.c b/strings/apr_strings.c
index 15b3c408c..affe51267 100644
--- a/strings/apr_strings.c
+++ b/strings/apr_strings.c
@@ -59,6 +59,9 @@
#ifdef HAVE_STDDEF_H
#include <stddef.h> /* NULL */
#endif
+#if APR_HAVE_STRING_H
+#include <string.h>
+#endif
#if APR_HAVE_STRINGS_H
#include <strings.h>
#endif