]> git.saurik.com Git - bison.git/blobdiff - src/system.h
* src/conflicts.c (conflicts_print): Don't complain at all when
[bison.git] / src / system.h
index b8a73edbdc27effa05559fc53000a395976277f6..93213cb72c5e07a78d65bab459f9c56ef8e48b8f 100644 (file)
 extern int errno;
 #endif
 
+/* AIX requires this to be the first thing in the file.  */
+#ifndef __GNUC__
+# if HAVE_ALLOCA_H
+#  include <alloca.h>
+# else
+#  ifdef _AIX
+ #pragma alloca
+#  else
+#   ifndef alloca /* predefined by HP cc +Olibcalls */
+char *alloca ();
+#   endif
+#  endif
+# endif
+#endif
+
 #if PROTOTYPES
 # define PARAMS(p) p
 #else