From 2200bd0564318b539bfa7a0cca120131cfd0c1a8 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Jul 2002 06:31:12 +0000 Subject: Upgrade to gettext-0.11.3. --- lib/gettext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lib') diff --git a/lib/gettext.h b/lib/gettext.h index babce049f..6d2d4f8ea 100644 --- a/lib/gettext.h +++ b/lib/gettext.h @@ -27,6 +27,16 @@ # else +/* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which + chokes if dcgettext is defined as a macro. So include it now, to make + later inclusions of a NOP. We don't include + as well because people using "gettext.h" will not include , + and also including would fail on SunOS 4, whereas + is OK. */ +# if defined(__sun) +# include +# endif + /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. -- cgit v1.2.3-70-g09d2