From af8a9163c31d622b946ffe3b1fa616d983c70721 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 19 Aug 2011 16:58:20 +0000 Subject: [PATCH] =?UTF-8?q?2011-08-19=20=20Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libc/string/bcmp.c: Include for "bcmp". * libc/string/bcopy.c: Include for "bcopy". * libc/string/strcasestr.c: Include for "strncasecmp". * libc/time/strptime.c: Include for "strncasecmp". --- newlib/ChangeLog | 7 +++++++ newlib/libc/string/bcmp.c | 1 + newlib/libc/string/bcopy.c | 1 + newlib/libc/string/strcasestr.c | 1 + newlib/libc/time/strptime.c | 1 + 5 files changed, 11 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index b8a5a6a94..59e177a6d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2011-08-19 Ralf Corsépius + + * libc/string/bcmp.c: Include for "bcmp". + * libc/string/bcopy.c: Include for "bcopy". + * libc/string/strcasestr.c: Include for "strncasecmp". + * libc/time/strptime.c: Include for "strncasecmp". + 2011-08-19 Corinna Vinschen * libc/include/process.h: Remove exec family function declarations. 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 +#include 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 +#include 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 #include +#include #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 #include #include +#include #include #include #include "../locale/timelocal.h"