summaryrefslogtreecommitdiffstatshomepage
path: root/py/parse.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-08 13:42:00 +0000
committerDamien George <damien.p.george@gmail.com>2016-01-08 13:42:00 +0000
commit7dbf74c5b976ae92aab5c941cc777bb0c6a36592 (patch)
tree9d58e5c3d3bc8589129a3340f2b0d21f3dc853de /py/parse.c
parent1404d620c018b543534629cb54c48bacc1806315 (diff)
downloadmicropython-7dbf74c5b976ae92aab5c941cc777bb0c6a36592.tar.gz
micropython-7dbf74c5b976ae92aab5c941cc777bb0c6a36592.zip
py/parse: Include unistd.h for ssize_t definition.
In some cases ssize_t is not defined by already included headers.
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/parse.c b/py/parse.c
index 04629e03ff..775bf68b32 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -27,6 +27,7 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
+#include <unistd.h> // for ssize_t
#include <assert.h>
#include <string.h>