diff options
Diffstat (limited to 'string/tst-strsignal.c')
-rw-r--r-- | string/tst-strsignal.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/string/tst-strsignal.c b/string/tst-strsignal.c index 3f6764989f..2c549f4620 100644 --- a/string/tst-strsignal.c +++ b/string/tst-strsignal.c @@ -20,6 +20,7 @@ #include <string.h> #include <stdio.h> #include <signal.h> +#include <stdlib.h> #include <locale.h> #include <array_length.h> @@ -29,6 +30,8 @@ static int do_test (void) { + unsetenv ("LANGUAGE"); + xsetlocale (LC_ALL, "C"); TEST_COMPARE_STRING (strsignal (SIGINT), "Interrupt"); |