diff options
Diffstat (limited to 'sysdeps/sh/init-first.c')
-rw-r--r-- | sysdeps/sh/init-first.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/sh/init-first.c b/sysdeps/sh/init-first.c index 08ae8a3de0..c2e45e4287 100644 --- a/sysdeps/sh/init-first.c +++ b/sysdeps/sh/init-first.c @@ -1,5 +1,5 @@ /* Initialization code run first thing by the ELF startup code. For SH. - Copyright (C) 1995-1998, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1995-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,6 +16,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#include <ctype.h> #include <unistd.h> extern void __libc_init (int, char **, char **); @@ -40,6 +41,9 @@ init (int *data) /* This is a hack to make the special getopt in GNU libc working. */ __getopt_clean_environment (envp); #endif + + /* Initialize ctype data. */ + __ctype_init (); } #ifdef SHARED |