diff options
author | Jim Meyering <jim@meyering.net> | 2002-07-20 06:31:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-07-20 06:31:12 +0000 |
commit | 2200bd0564318b539bfa7a0cca120131cfd0c1a8 (patch) | |
tree | b8ade25f137f9bc3cb6c4534963d4f2c36e99f5d /lib | |
parent | 9befab3af811f167fab3df228607dad91257cf20 (diff) | |
download | coreutils-2200bd0564318b539bfa7a0cca120131cfd0c1a8.tar.xz |
Upgrade to gettext-0.11.3.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gettext.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <locale.h> a NOP. We don't include <libintl.h> + as well because people using "gettext.h" will not include <libintl.h>, + and also including <libintl.h> would fail on SunOS 4, whereas <locale.h> + is OK. */ +# if defined(__sun) +# include <locale.h> +# endif + /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. |