summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-03-11 18:15:14 +0000
committerBruno Haible <bruno@clisp.org>2001-03-11 18:15:14 +0000
commit4854d244eb65a6d003bab3f95320a59f5417de90 (patch)
treeb794720eeeb574e89edac4545c7e4bc9d9b72e66 /src
parenteac5d44a642d1ac86c5926dd7c054fec149382db (diff)
downloadexternal_gettext-4854d244eb65a6d003bab3f95320a59f5417de90.zip
external_gettext-4854d244eb65a6d003bab3f95320a59f5417de90.tar.gz
external_gettext-4854d244eb65a6d003bab3f95320a59f5417de90.tar.bz2
Avoid warnings on Solaris.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/gettext.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 28a822c..802aa4f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,4 +1,9 @@
2001-03-11 Bruno Haible <haible@clisp.cons.org>
+
+ * gettext.c: Force inclusion of libgnuintl.h. On Solaris, <locale.h>
+ has already included libintl.h.
+
+2001-03-11 Bruno Haible <haible@clisp.cons.org>
Karl Eichwalder <ke@suse.de>
* po.c (po_callback_message): Add comments to support translators.
diff --git a/src/gettext.c b/src/gettext.c
index 52221f2..ae58597 100644
--- a/src/gettext.c
+++ b/src/gettext.c
@@ -34,6 +34,7 @@
# define bindtextdomain bindtextdomain__
# define gettext gettext__
# define dgettext dgettext__
+# undef _LIBINTL_H
# include "libgnuintl.h"
#else
# include "libgettext.h"