X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/f0451dba71a80adebe53a11db00c00bac7c70ba7..16c4a35041d6f9bd581134f99e3d6e915e48eb8b:/src/system.h diff --git a/src/system.h b/src/system.h index b8a73edb..93213cb7 100644 --- a/src/system.h +++ b/src/system.h @@ -79,6 +79,21 @@ extern int errno; #endif +/* AIX requires this to be the first thing in the file. */ +#ifndef __GNUC__ +# if HAVE_ALLOCA_H +# include +# 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