summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorIlya Dmitrichenko <ilya@xively.com>2014-04-12 16:44:32 +0100
committerIlya Dmitrichenko <ilya@xively.com>2014-04-12 16:45:35 +0100
commit5630b01920a81a59cba0c392dfdacf2ba0b1d5db (patch)
tree5ec90c02cc4f4ab2af9894023ade92159e17f0fe /py
parent82c7b1b1d5c8ce0467bd580a86d20c645cec17df (diff)
downloadmicropython-5630b01920a81a59cba0c392dfdacf2ba0b1d5db.tar.gz
micropython-5630b01920a81a59cba0c392dfdacf2ba0b1d5db.zip
py: the entire `<unistd.h>` shouldn't be needed
Diffstat (limited to 'py')
-rw-r--r--py/emitcommon.c2
-rw-r--r--py/stream.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/py/emitcommon.c b/py/emitcommon.c
index 30f5ace923..044ec3463a 100644
--- a/py/emitcommon.c
+++ b/py/emitcommon.c
@@ -1,4 +1,4 @@
-#include <unistd.h>
+#include <string.h>
#include <stdint.h>
#include <assert.h>
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"