From 302cadd343d26cfa9b043c213c2a38de259464d8 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 2 Apr 2012 22:31:32 +0200 Subject: Testsuite #include fixes. --- string/test-memcmp.c | 4 +++- string/test-strcmp.c | 4 +++- string/test-string.h | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'string') diff --git a/string/test-memcmp.c b/string/test-memcmp.c index 2e61f59..69076d0 100644 --- a/string/test-memcmp.c +++ b/string/test-memcmp.c @@ -1,5 +1,5 @@ /* Test and measure memcmp functions. - Copyright (C) 1999, 2002, 2003, 2005, 2011 Free Software Foundation, Inc. + Copyright (C) 1999-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Jakub Jelinek , 1999. Added wmemcmp support by Liubov Dmitrieva , 2011. @@ -44,6 +44,8 @@ simple_wmemcmp (const wchar_t *s1, const wchar_t *s2, size_t n) return ret; } #else +# include + # define MEMCMP memcmp # define MEMCPY memcpy # define SIMPLE_MEMCMP simple_memcmp diff --git a/string/test-strcmp.c b/string/test-strcmp.c index 85df6dc..000c510 100644 --- a/string/test-strcmp.c +++ b/string/test-strcmp.c @@ -1,5 +1,5 @@ /* Test and measure strcmp and wcscmp functions. - Copyright (C) 1999, 2002, 2003, 2005, 2011 Free Software Foundation, Inc. + Copyright (C) 1999-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Jakub Jelinek , 1999. Added wcscmp support by Liubov Dmitrieva , 2011. @@ -80,6 +80,8 @@ stupid_wcscmp (const wchar_t *s1, const wchar_t *s2) } #else +# include + # define L(str) str # define STRCMP strcmp # define STRCPY strcpy diff --git a/string/test-string.h b/string/test-string.h index 40fec18..c94d822 100644 --- a/string/test-string.h +++ b/string/test-string.h @@ -1,5 +1,5 @@ /* Test and measure string and memory functions. - Copyright (C) 1999, 2002, 2004, 2008, 2011 Free Software Foundation, Inc. + Copyright (C) 1999-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Jakub Jelinek , 1999. @@ -44,6 +44,7 @@ extern impl_t __start_impls[], __stop_impls[]; #include #include #include +#include #include #include #include -- cgit v1.1