summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/string/bcmp.c1
-rw-r--r--newlib/libc/string/bcopy.c1
-rw-r--r--newlib/libc/string/strcasestr.c1
-rw-r--r--newlib/libc/time/strptime.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/string/bcmp.c b/newlib/libc/string/bcmp.c
index e8d057352..2588364bb 100644
--- a/newlib/libc/string/bcmp.c
+++ b/newlib/libc/string/bcmp.c
@@ -36,6 +36,7 @@ QUICKREF
*/
#include <string.h>
+#include <strings.h>
int
_DEFUN (bcmp, (m1, m2, n),
diff --git a/newlib/libc/string/bcopy.c b/newlib/libc/string/bcopy.c
index 505e39dc7..c69c04425 100644
--- a/newlib/libc/string/bcopy.c
+++ b/newlib/libc/string/bcopy.c
@@ -27,6 +27,7 @@ QUICKREF
*/
#include <string.h>
+#include <strings.h>
void
_DEFUN (bcopy, (b1, b2, length),
diff --git a/newlib/libc/string/strcasestr.c b/newlib/libc/string/strcasestr.c
index a8276e2b5..0122d7ab8 100644
--- a/newlib/libc/string/strcasestr.c
+++ b/newlib/libc/string/strcasestr.c
@@ -76,6 +76,7 @@ QUICKREF
#include <ctype.h>
#include <string.h>
+#include <strings.h>
#if !defined(PREFER_SIZE_OVER_SPEED) && !defined(__OPTIMIZE_SIZE__)
# define RETURN_TYPE char *
diff --git a/newlib/libc/time/strptime.c b/newlib/libc/time/strptime.c
index 359fe5e9d..0fc5f4e13 100644
--- a/newlib/libc/time/strptime.c
+++ b/newlib/libc/time/strptime.c
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <time.h>
#include <string.h>
+#include <strings.h>
#include <ctype.h>
#include <stdlib.h>
#include "../locale/timelocal.h"