Skip to content

Commit d7a52e1

Browse files
committed
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.
1 parent 6a3a742 commit d7a52e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/qemu-arm/test_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <stdio.h>
44
#include <string.h>
55
#include <malloc.h>
6+
#include <setjmp.h>
67

78
#include "py/obj.h"
89
#include "py/compile.h"

0 commit comments

Comments
 (0)