summaryrefslogtreecommitdiffstatshomepage
path: root/mpy-cross
diff options
context:
space:
mode:
Diffstat (limited to 'mpy-cross')
-rw-r--r--mpy-cross/main.c1
-rw-r--r--mpy-cross/mpconfigport.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/mpy-cross/main.c b/mpy-cross/main.c
index 5e5bc73304..378c013c8d 100644
--- a/mpy-cross/main.c
+++ b/mpy-cross/main.c
@@ -32,6 +32,7 @@
#include "py/mpstate.h"
#include "py/compile.h"
+#include "py/persistentcode.h"
#include "py/runtime.h"
#include "py/gc.h"
#include "py/stackctrl.h"
diff --git a/mpy-cross/mpconfigport.h b/mpy-cross/mpconfigport.h
index c0a404103b..0f76510986 100644
--- a/mpy-cross/mpconfigport.h
+++ b/mpy-cross/mpconfigport.h
@@ -47,6 +47,7 @@
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (0)
+#define MICROPY_READER_POSIX (1)
#define MICROPY_ENABLE_RUNTIME (0)
#define MICROPY_ENABLE_GC (1)
#define MICROPY_STACK_CHECK (1)