]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Tweak last patch.
authorBruno Haible <bruno@clisp.org>
Thu, 22 Mar 2001 13:06:54 +0000 (13:06 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 22 Mar 2001 13:06:54 +0000 (13:06 +0000)
intl/plural.y

index 790cb7f4d65f0b92318ff39d6b01b3079c180b92..42ffa0eb281d340179b6f48286cad7fcad3376d8 100644 (file)
    along with this program; if not, write to the Free Software Foundation,
    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 /* The bison generated parser uses alloca.  AIX 3 forces us to put this
    declaration at the beginning of the file.  The declaration in bison's
-   skeleton file comes too late.  */
-#ifdef _AIX
+   skeleton file comes too late.  This must come before <config.h>
+   because <config.h> may include arbitrary system headers.  */
+#if defined _AIX && !defined __GNUC__
  #pragma alloca
 #endif
 
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
 #include <stdlib.h>
 #include "gettextP.h"