summaryrefslogtreecommitdiffstatshomepage
path: root/py/stream.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-04-13 13:22:36 +0100
committerDamien George <damien.p.george@gmail.com>2014-04-13 13:22:36 +0100
commitd395a0e4b1860f6d3b5c8cb4b855e21ea71a2ccb (patch)
tree48ecaafe5589a8b5e7f56f8ad95f6fceb2bc8bff /py/stream.c
parent674f9887ce54b0627758f2a84c52e8aab0d7f2db (diff)
parent5630b01920a81a59cba0c392dfdacf2ba0b1d5db (diff)
downloadmicropython-d395a0e4b1860f6d3b5c8cb4b855e21ea71a2ccb.tar.gz
micropython-d395a0e4b1860f6d3b5c8cb4b855e21ea71a2ccb.zip
Merge pull request #471 from errordeveloper/misc_fix/unistd
py: the entire `<unistd.h>` shouldn't be needed
Diffstat (limited to 'py/stream.c')
-rw-r--r--py/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/stream.c b/py/stream.c
index 52e5f6d4b2..f3df70fa51 100644
--- a/py/stream.c
+++ b/py/stream.c
@@ -1,4 +1,4 @@
-#include <unistd.h>
+#include <string.h>
#include "nlr.h"
#include "misc.h"