about summary refs log tree commit diff
path: root/string/test-strcmp.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2012-04-02 22:31:32 +0200
committerThomas Schwinge <thomas@schwinge.name>2012-04-02 22:31:32 +0200
commit302cadd343d26cfa9b043c213c2a38de259464d8 (patch)
treea88aca1d19f2d7d682e72f4110dc3a0788919213 /string/test-strcmp.c
parent228c019e6336d6da448715a1c5fcca9771827f61 (diff)
downloadglibc-302cadd343d26cfa9b043c213c2a38de259464d8.tar.gz
glibc-302cadd343d26cfa9b043c213c2a38de259464d8.tar.xz
glibc-302cadd343d26cfa9b043c213c2a38de259464d8.zip
Testsuite #include fixes.
Diffstat (limited to 'string/test-strcmp.c')
-rw-r--r--string/test-strcmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/string/test-strcmp.c b/string/test-strcmp.c
index 85df6dcd48..000c51091c 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 <jakub@redhat.com>, 1999.
    Added wcscmp support by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>, 2011.
@@ -80,6 +80,8 @@ stupid_wcscmp (const wchar_t *s1, const wchar_t *s2)
 }
 
 #else
+# include <limits.h>
+
 # define L(str) str
 # define STRCMP strcmp
 # define STRCPY strcpy