X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/5e02f2ada117cabe902f24ba748578f83edc540f..009b94d4211782f410efcbc8b357b9cc691b6612:/src/bison.simple?ds=sidebyside diff --git a/src/bison.simple b/src/bison.simple index c25067a7..e3bcfb6d 100644 --- a/src/bison.simple +++ b/src/bison.simple @@ -44,6 +44,11 @@ #include #pragma alloca #else /* not MSDOS, or __TURBOC__, or _AIX */ +#ifdef __hpux /* This is right for HPUX 10. */ +#include +#endif +#if 0 /* This was right for HPUX 9. + Unfortunately there is no clean way to distinguish. */ #ifdef __hpux #ifdef __cplusplus extern "C" { @@ -53,6 +58,7 @@ void *alloca (unsigned int); void *alloca (); #endif /* not __cplusplus */ #endif /* __hpux */ +#endif /* 0 */ #endif /* not _AIX */ #endif /* not MSDOS, or __TURBOC__ */ #endif /* not sparc. */