diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-11 23:10:05 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-11 23:10:05 +0000 |
commit | d71163c61183ba20155492490e2ee80453719446 (patch) | |
tree | 8897d117e2a98429a32ff6262801e299a9ffabae /libstdc++-v3/config/locale | |
parent | 0304bb16993b935c37c9b43fd8aaf1bb57167139 (diff) | |
download | gcc-d71163c61183ba20155492490e2ee80453719446.tar.gz |
2007-04-11 Paolo Carlini <pcarlini@suse.de>
* config/locale/gnu/c_locale.h: Do not include <langinfo.h>
and <iconv.h>.
* config/locale/gnu/c++locale_internal.h: Include <langinfo.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/config/locale')
-rw-r--r-- | libstdc++-v3/config/locale/gnu/c++locale_internal.h | 1 | ||||
-rw-r--r-- | libstdc++-v3/config/locale/gnu/c_locale.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libstdc++-v3/config/locale/gnu/c++locale_internal.h b/libstdc++-v3/config/locale/gnu/c++locale_internal.h index 6f9b5351033..cbce1690f46 100644 --- a/libstdc++-v3/config/locale/gnu/c++locale_internal.h +++ b/libstdc++-v3/config/locale/gnu/c++locale_internal.h @@ -38,6 +38,7 @@ #include <bits/c++config.h> #include <clocale> #include <cstdlib> +#include <langinfo.h> #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) diff --git a/libstdc++-v3/config/locale/gnu/c_locale.h b/libstdc++-v3/config/locale/gnu/c_locale.h index bc9db3a44b2..7a71b013eee 100644 --- a/libstdc++-v3/config/locale/gnu/c_locale.h +++ b/libstdc++-v3/config/locale/gnu/c_locale.h @@ -1,6 +1,6 @@ // Wrapper for underlying C-language localization -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 // Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free @@ -47,8 +47,6 @@ #include <cstring> // get std::strlen #include <cstdio> // get std::vsnprintf or std::vsprintf #include <clocale> -#include <langinfo.h> // For codecvt -#include <iconv.h> // For codecvt using iconv, iconv_t #include <libintl.h> // For messages #include <cstdarg> |