summaryrefslogtreecommitdiff
path: root/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex.c')
-rw-r--r--regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex.c b/regex.c
index f1dcb3b77d..668773fb49 100644
--- a/regex.c
+++ b/regex.c
@@ -94,7 +94,7 @@ void xfree _((void*));
#else
# if defined(HAVE_ALLOCA_H)
# include <alloca.h>
-# else
+# elif !defined(alloca)
char *alloca();
# endif
#endif /* __GNUC__ */