changeset 457:19d0cf487aa0

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