From 5630b01920a81a59cba0c392dfdacf2ba0b1d5db Mon Sep 17 00:00:00 2001
From: Ilya Dmitrichenko <ilya@xively.com>
Date: Sat, 12 Apr 2014 16:44:32 +0100
Subject: [PATCH] py: the entire `<unistd.h>` shouldn't be needed

---
 py/emitcommon.c | 2 +-
 py/stream.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/py/emitcommon.c b/py/emitcommon.c
index 30f5ace92..044ec3463 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"
-- 
GitLab