summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gha.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gha.c b/src/gha.c
index 6b1d01f..8cb73a1 100644
--- a/src/gha.c
+++ b/src/gha.c
@@ -13,10 +13,14 @@
#else
+#ifdef LIBGHA_HAVE_ALLOCA_H
+
#include <alloca.h>
#endif
+#endif
+
/*
* Ref: http://www.apsipa.org/proceedings_2009/pdf/WA-L3-3.pdf
*/