summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-12-19 11:15:41 +1100
committerDamien George <damien.p.george@gmail.com>2017-12-20 15:42:06 +1100
commitd7a52e15398e1746d0b2fd651d11d092fa59c580 (patch)
tree88833b826f130f9377361c0fbe8c80b2cc43b439
parent6a3a742a6c9caaa2be0fd0aac7a5df4ac816081c (diff)
qemu-arm/test_main: Include setjmp.h because it's used by gc_collect.
And it's no longer unconditionally included by nlr.h, only if NLR_SETJMP is defined.
-rw-r--r--ports/qemu-arm/test_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/qemu-arm/test_main.c b/ports/qemu-arm/test_main.c
index 926478ea1..adbdf04e1 100644
--- a/ports/qemu-arm/test_main.c
+++ b/ports/qemu-arm/test_main.c
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <string.h>
#include <malloc.h>
+#include <setjmp.h>
#include "py/obj.h"
#include "py/compile.h"