2010-06-29 Hui Zhu <teawater@gmail.com>
[binutils-gdb.git] / gdb / gdb_locale.h
index e8ba0eaa4e5c73821a31389bd88951705ac37b6e..9519744e61ec17a6a6b24ff5c750d363b232d84f 100644 (file)
@@ -1,5 +1,5 @@
 /* GDB-friendly replacement for <locale.h>.
-   Copyright (C) 2002, 2007, 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -41,4 +41,8 @@
 # define N_(String) (String)
 #endif
 
+#ifdef HAVE_LANGINFO_CODESET
+#include <langinfo.h>
+#endif
+
 #endif /* GDB_LOCALE_H */