aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_locale.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdb_locale.h')
-rw-r--r--gdb/gdb_locale.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdb_locale.h b/gdb/gdb_locale.h
index e8ba0ea..4fa4d3d 100644
--- a/gdb/gdb_locale.h
+++ b/gdb/gdb_locale.h
@@ -41,4 +41,8 @@
# define N_(String) (String)
#endif
+#ifdef HAVE_LANGINFO_CODESET
+#include <langinfo.h>
+#endif
+
#endif /* GDB_LOCALE_H */