summaryrefslogtreecommitdiffstats
path: root/newlib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/misc/ffs.c2
-rw-r--r--newlib/libc/string/bzero.c2
-rw-r--r--newlib/libc/string/index.c1
-rw-r--r--newlib/libc/string/rindex.c1
-rw-r--r--newlib/libc/string/strcasecmp.c2
-rw-r--r--newlib/libc/string/strncasecmp.c2
6 files changed, 6 insertions, 4 deletions
diff --git a/newlib/libc/misc/ffs.c b/newlib/libc/misc/ffs.c
index 292ffabee..e907bc911 100644
--- a/newlib/libc/misc/ffs.c
+++ b/newlib/libc/misc/ffs.c
@@ -24,7 +24,7 @@ PORTABILITY
No supporting OS subroutines are required. */
-#include <_ansi.h>
+#include <strings.h>
int
_DEFUN(ffs, (word),
diff --git a/newlib/libc/string/bzero.c b/newlib/libc/string/bzero.c
index 661285f7b..4db357438 100644
--- a/newlib/libc/string/bzero.c
+++ b/newlib/libc/string/bzero.c
@@ -30,7 +30,7 @@ Neither ANSI C nor the System V Interface Definition (Issue 2) require
<<bzero>> requires no supporting OS subroutines.
*/
-#include <string.h>
+#include <strings.h>
_VOID
_DEFUN (bzero, (b, length),
diff --git a/newlib/libc/string/index.c b/newlib/libc/string/index.c
index 6c165f952..6a707292d 100644
--- a/newlib/libc/string/index.c
+++ b/newlib/libc/string/index.c
@@ -34,6 +34,7 @@ QUICKREF
*/
#include <string.h>
+#include <strings.h>
char *
_DEFUN (index, (s, c),
diff --git a/newlib/libc/string/rindex.c b/newlib/libc/string/rindex.c
index 3c6dff909..1284bccbe 100644
--- a/newlib/libc/string/rindex.c
+++ b/newlib/libc/string/rindex.c
@@ -34,6 +34,7 @@ QUICKREF
*/
#include <string.h>
+#include <strings.h>
char *
_DEFUN (rindex, (s, c),
diff --git a/newlib/libc/string/strcasecmp.c b/newlib/libc/string/strcasecmp.c
index 73cf8661e..6f4fd3569 100644
--- a/newlib/libc/string/strcasecmp.c
+++ b/newlib/libc/string/strcasecmp.c
@@ -38,7 +38,7 @@ QUICKREF
strcasecmp
*/
-#include <string.h>
+#include <strings.h>
#include <ctype.h>
int
diff --git a/newlib/libc/string/strncasecmp.c b/newlib/libc/string/strncasecmp.c
index 6909018a8..922c76a5f 100644
--- a/newlib/libc/string/strncasecmp.c
+++ b/newlib/libc/string/strncasecmp.c
@@ -40,7 +40,7 @@ QUICKREF
strncasecmp
*/
-#include <string.h>
+#include <strings.h>
#include <ctype.h>
int