aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index 4953da2..18b207c 100644
--- a/common.h
+++ b/common.h
@@ -9,7 +9,7 @@
#include <sys/stat.h>
#if ALLOCA_LIMIT > 0
-# if defined(__GLIBC__) || defined(__sun) || defined(__CYGWIN__)
+# if defined(__GLIBC__) || defined(__sun) || defined(__CYGWIN__) || defined(__APPLE__)
# include <alloca.h>
# elif defined(_WIN32)
# include <malloc.h>