From d5f635529a4dfe62b5ef565135b6f506040a66b0 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 23 Mar 2006 11:14:16 +0000 Subject: 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 --- libc/string/ffs.c | 1 + libc/string/strcasecmp.c | 1 + libc/string/strncasecmp.c | 1 + 3 files changed, 3 insertions(+) (limited to 'libc/string') 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 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 #include #include 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 #include #include -- cgit v1.2.3