summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2017-12-09 23:06:34 +0100
committerKrasimir Angelov <kr.angelov@gmail.com>2017-12-09 23:06:34 +0100
commit4a1d19086a47455a6d14f7ef6af3dc8b77d82cbe (patch)
tree54a1d4ba17625f21af5e12f7404553a6e9125df6 /src/runtime/c/pgf
parent515ea697ba3274f28cb0f8c1f2a36e3c49391b6c (diff)
added one more include to define alloca for Windows
Diffstat (limited to 'src/runtime/c/pgf')
-rw-r--r--src/runtime/c/pgf/lookup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/lookup.c b/src/runtime/c/pgf/lookup.c
index f6f2d4da4..21c82450f 100644
--- a/src/runtime/c/pgf/lookup.c
+++ b/src/runtime/c/pgf/lookup.c
@@ -9,6 +9,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
+#if defined(__MINGW32__) || defined(_MSC_VER)
+#include <malloc.h>
+#endif
//#define PGF_LOOKUP_DEBUG
//#define PGF_LINEARIZER_DEBUG