From ab8012bd8098e155e38ef6dead62bca8a200e613 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Fri, 18 Dec 2015 12:33:08 +0000
Subject: [PATCH] py/emitglue: Add include of unistd.h for read function.

---
 py/emitglue.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/py/emitglue.c b/py/emitglue.c
index 7ebd9c351..b46e0a67d 100644
--- a/py/emitglue.c
+++ b/py/emitglue.c
@@ -379,6 +379,7 @@ mp_raw_code_t *mp_raw_code_load_mem(const byte *buf, size_t len) {
 
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <unistd.h>
 
 typedef struct _mp_lexer_file_buf_t {
     int fd;
-- 
GitLab