about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--intl/loadmsgcat.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 62c92c4d4f..f3a9bf2910 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2001-01-26  Ulrich Drepper  <drepper@redhat.com>
 
+	* intl/loadmsgcat.c: Include <locale.h.> for _LIBC.
+
 	* conform/data/netinet/in.h-data: Add reserved prefixes.
 
 	* conform/data/arpa/inet.h-data: Fix a few typos.
diff --git a/intl/loadmsgcat.c b/intl/loadmsgcat.c
index 40d1ce673a..6eed73930b 100644
--- a/intl/loadmsgcat.c
+++ b/intl/loadmsgcat.c
@@ -49,6 +49,7 @@
 
 #ifdef _LIBC
 # include <langinfo.h>
+# include <locale.h>
 #endif
 
 #if (defined HAVE_MMAP && defined HAVE_MUNMAP && !defined DISALLOW_MMAP) \