summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-23 11:14:16 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-23 11:14:16 +0000
commitd5f635529a4dfe62b5ef565135b6f506040a66b0 (patch)
treeb66b2aa7422304b491d1f9c21986dd3f57cd017d /libc/string
parent9535cbf18c6b4415dc35c220ca4cca15eba5dc1b (diff)
select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/ffs.c1
-rw-r--r--libc/string/strcasecmp.c1
-rw-r--r--libc/string/strncasecmp.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/libc/string/ffs.c b/libc/string/ffs.c
index d98383d4e..9a68dc302 100644
--- a/libc/string/ffs.c
+++ b/libc/string/ffs.c
@@ -8,6 +8,7 @@
/* ffsl,ffsll */
#include "_string.h"
+#include <strings.h>
libc_hidden_proto(ffs)
diff --git a/libc/string/strcasecmp.c b/libc/string/strcasecmp.c
index ad4d1aab6..7fa521fb7 100644
--- a/libc/string/strcasecmp.c
+++ b/libc/string/strcasecmp.c
@@ -6,6 +6,7 @@
*/
#include "_string.h"
+#include <strings.h>
#include <ctype.h>
#include <locale.h>
diff --git a/libc/string/strncasecmp.c b/libc/string/strncasecmp.c
index 0317bc124..9980dd704 100644
--- a/libc/string/strncasecmp.c
+++ b/libc/string/strncasecmp.c
@@ -6,6 +6,7 @@
*/
#include "_string.h"
+#include <strings.h>
#include <ctype.h>
#include <locale.h>