summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/make.h b/make.h
index 1a78485..37c64c2 100644
--- a/make.h
+++ b/make.h
@@ -136,11 +136,11 @@ extern void free ();
#undef alloca
#define alloca(n) __builtin_alloca (n)
#else /* Not GCC. */
-#ifdef sparc
+#if defined (sparc) || defined (HAVE_ALLOCA_H)
#include <alloca.h>
-#else /* Not sparc. */
+#else /* Not sparc or HAVE_ALLOCA_H. */
extern char *alloca ();
-#endif /* sparc. */
+#endif /* sparc or HAVE_ALLOCA_H. */
#endif /* GCC. */
#ifndef iAPX286