summaryrefslogtreecommitdiffstatshomepage
path: root/qemu-arm/mpconfigport.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-arm/mpconfigport.h')
-rw-r--r--qemu-arm/mpconfigport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qemu-arm/mpconfigport.h b/qemu-arm/mpconfigport.h
index f464712f50..e2c625ce29 100644
--- a/qemu-arm/mpconfigport.h
+++ b/qemu-arm/mpconfigport.h
@@ -33,3 +33,5 @@ extern const struct _mp_obj_fun_native_t mp_builtin_open_obj;
#define MICROPY_PORT_BUILTINS \
{ MP_OBJ_NEW_QSTR(MP_QSTR_open), (mp_obj_t)&mp_builtin_open_obj },
+// We need to provide a declaration/definition of alloca()
+#include <alloca.h>