changeset 20148:90156aa10d73

Alloca fix for ConvexOS-11.0.
author Jim Meyering <jim@meyering.net>
date Thu, 15 Jun 1995 14:55:26 +0000
parents af869bf67506
children 03b732caa41a
files lib/regex.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/regex.c	Thu Jun 15 03:57:49 1995 +0000
+++ b/lib/regex.c	Thu Jun 15 14:55:26 1995 +0000
@@ -227,7 +227,11 @@
 #include <alloca.h>
 #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__ */