diff options
author | David Lechner <david@pybricks.com> | 2022-06-30 19:02:18 -0500 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-07-05 23:44:07 +1000 |
commit | 5ab7dfe6db96e3cc7f9358b30eb04b27411fcb07 (patch) | |
tree | 712fef05cca1fac2ad93ef5efbbfc98c441e3077 | |
parent | 1ea82b6dcc7dd5f0ad051db414ff91d8f04d20e0 (diff) | |
download | micropython-5ab7dfe6db96e3cc7f9358b30eb04b27411fcb07.tar.gz micropython-5ab7dfe6db96e3cc7f9358b30eb04b27411fcb07.zip |
unix/moduos: Include errno.h.
The file `ports/unix/moduos.c` uses `errno` so it needs to include
`errno.h`, otherwise a compiler error can occur.
Signed-off-by: David Lechner <david@pybricks.com>
-rw-r--r-- | ports/unix/moduos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/unix/moduos.c b/ports/unix/moduos.c index 848a3612d1..b577dbd297 100644 --- a/ports/unix/moduos.c +++ b/ports/unix/moduos.c @@ -25,6 +25,7 @@ * THE SOFTWARE. */ +#include <errno.h> #include <stdlib.h> #include <string.h> |