diff --git a/python/port/port.cpp b/python/port/port.cpp index 83d0a77dc..ed82041e3 100644 --- a/python/port/port.cpp +++ b/python/port/port.cpp @@ -1,4 +1,3 @@ -#include #include #include #include diff --git a/python/port/port.h b/python/port/port.h index cd3b346a0..1cd120ddc 100644 --- a/python/port/port.h +++ b/python/port/port.h @@ -1,6 +1,10 @@ #ifndef PYTHON_PORT_H #define PYTHON_PORT_H +extern "C" { +#include +} + namespace MicroPython { class ScriptProvider {