diff options
| author | Damien George | 2017-12-19 11:15:41 +1100 |
|---|---|---|
| committer | Damien George | 2017-12-20 15:42:06 +1100 |
| commit | d7a52e15398e1746d0b2fd651d11d092fa59c580 (patch) | |
| tree | 88833b826f130f9377361c0fbe8c80b2cc43b439 /ports/qemu-arm | |
| parent | 6a3a742a6c9caaa2be0fd0aac7a5df4ac816081c (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.
Diffstat (limited to 'ports/qemu-arm')
| -rw-r--r-- | ports/qemu-arm/test_main.c | 1 |
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" |
