diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-13 21:23:28 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-13 21:23:28 +0000 |
commit | 21d77686a2414a9daf2a04cfbde1f594de397479 (patch) | |
tree | ca374205d05038e2aea21763360f6de7054c7d20 /intl/dngettext.c | |
parent | f55abd0a03cae0b0082f47a61a4a8b57097347ed (diff) | |
download | gcc-21d77686a2414a9daf2a04cfbde1f594de397479.tar.gz |
PR other/23541
PR other/26507
Backport from gettext repository:
2003-09-04 Bruno Haible <bruno@clisp.org>
* dgettext.c: Include <locale.h> after gettextP.h, not before. This
ensures that libintl_dcgettext is correctly declared on Solaris.
(Needed because Solaris <locale.h> includes libintl.h.)
* dngettext.c: Likewise, for the libintl_dcngettext declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'intl/dngettext.c')
-rw-r--r-- | intl/dngettext.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/intl/dngettext.c b/intl/dngettext.c index 2c304e8dd0a..8dee8008544 100644 --- a/intl/dngettext.c +++ b/intl/dngettext.c @@ -1,5 +1,5 @@ /* Implementation of the dngettext(3) function. - Copyright (C) 1995-1997, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published @@ -20,9 +20,10 @@ # include <config.h> #endif +#include "gettextP.h" + #include <locale.h> -#include "gettextP.h" #ifdef _LIBC # include <libintl.h> #else |