From: Jim Meyering Date: Thu, 15 Jun 1995 14:55:26 +0000 (+0000) Subject: Alloca fix for ConvexOS-11.0. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32480f941f53de09e931f00ff60b05627c9a1cd3;p=pspp Alloca fix for ConvexOS-11.0. --- diff --git a/lib/regex.c b/lib/regex.c index e1d5066dba..a4959ef539 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -227,7 +227,11 @@ init_syntax_once () #include #else /* not __GNUC__ or HAVE_ALLOCA_H */ #ifndef _AIX /* Already did AIX, up at the top. */ +#if defined (__STDC__) && __STDC__ void *alloca (); +#else +char *alloca (); +#endif #endif /* not _AIX */ #endif /* not HAVE_ALLOCA_H */ #endif /* not __GNUC__ */