py/stream: Stream module works with errno's, so should include mperrno.h.

This commit is contained in:
Paul Sokolovsky 2016-07-26 14:48:52 +03:00
parent 243f8988be
commit f2f761c0c3
1 changed files with 1 additions and 0 deletions

View File

@ -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)