summaryrefslogtreecommitdiff
path: root/py
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
parent674f9887ce54b0627758f2a84c52e8aab0d7f2db (diff)
parent5630b01920a81a59cba0c392dfdacf2ba0b1d5db (diff)
Merge pull request #471 from errordeveloper/misc_fix/unistd
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 454ec9c5e..62d8bd18a 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 52e5f6d4b..f3df70fa5 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"