summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-20 22:16:29 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-20 22:24:44 +0300
commit1f2ca1c1f9946fa28269526b4f1e16a316cf4b07 (patch)
tree762271ca764e5fd21392056df59d0ebfeef6708a
parent353b0289f34abaff8cd6d5e4cbb02851eb80f118 (diff)
downloadmicropython-1f2ca1c1f9946fa28269526b4f1e16a316cf4b07.tar.gz
micropython-1f2ca1c1f9946fa28269526b4f1e16a316cf4b07.zip
unix file: mingw32 has STDIN_FILENO and friends in stdio.h .
TODO: Never "optimize" includes any more!
-rw-r--r--unix/file.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unix/file.c b/unix/file.c
index a0a865a263..5bda34013f 100644
--- a/unix/file.c
+++ b/unix/file.c
@@ -1,3 +1,4 @@
+#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>