diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/regex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/regex.c b/lib/regex.c index d0086ed1a..89a77f8d9 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -238,7 +238,11 @@ init_syntax_once () #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__ */ |