From 00cf5a8d862c2281f04afd56b1a84012470900d7 Mon Sep 17 00:00:00 2001 From: Marcus von Appen Date: Sat, 7 Jun 2014 11:16:08 +0000 Subject: Micro Python is a lean and fast implementation of the Python 3 programming language that is optimised to run on a microcontroller. WWW: http://www.micropython.org --- lang/micropython/files/patch-runtime.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lang/micropython/files/patch-runtime.c (limited to 'lang/micropython/files/patch-runtime.c') 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 + #include + #include ++#ifndef __FreeBSD__ + #include ++#else ++#include /* alloca() */ ++#endif + + #include "mpconfig.h" + #include "nlr.h" -- cgit v1.2.3