diff options
Diffstat (limited to 'lang/micropython/files/patch-runtime.c')
-rw-r--r-- | lang/micropython/files/patch-runtime.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/micropython/files/patch-runtime.c b/lang/micropython/files/patch-runtime.c new file mode 100644 index 000000000000..264f57ecc377 --- /dev/null +++ b/lang/micropython/files/patch-runtime.c @@ -0,0 +1,14 @@ +--- ../py/runtime.c.orig 2014-06-04 22:05:32.000000000 +0200 ++++ ../py/runtime.c 2014-06-04 22:06:16.000000000 +0200 +@@ -27,7 +27,11 @@ + #include <stdio.h> + #include <string.h> + #include <assert.h> ++#ifndef __FreeBSD__ + #include <alloca.h> ++#else ++#include <stdlib.h> /* alloca() */ ++#endif + + #include "mpconfig.h" + #include "nlr.h" |