diff --git a/py/stream.h b/py/stream.h index bd3fa0bdc7..28e0d2dae2 100644 --- a/py/stream.h +++ b/py/stream.h @@ -27,6 +27,7 @@ #define __MICROPY_INCLUDED_PY_STREAM_H__ #include "py/obj.h" +#include "py/mperrno.h" #define MP_STREAM_ERROR ((mp_uint_t)-1)