aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge Zaitsev <zaitsev.serge@gmail.com>2015-12-14 23:04:37 +0800
committerSerge Zaitsev <zaitsev.serge@gmail.com>2015-12-14 23:04:37 +0800
commit4a54ae6987a37ca3734ac1e9ab6b7f1f44e2712d (patch)
tree1d40ca009f0f75b00c93370ebaf94e15684d76ba
parentfdceddf6854af498e192427d70bcc9c2e98a1729 (diff)
parente4d526a4033c4548dc3f9ade2ec14ff87b9455ea (diff)
Merge pull request #62 from baskerville/master
Fix deheader warnings
-rw-r--r--example/jsondump.c1
-rw-r--r--example/simple.c1
-rw-r--r--jsmn.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/example/jsondump.c b/example/jsondump.c
index 7be628772..cf08c5ca5 100644
--- a/example/jsondump.c
+++ b/example/jsondump.c
@@ -1,5 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
+#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "../jsmn.h"
diff --git a/example/simple.c b/example/simple.c
index a6f8e6a98..de4488383 100644
--- a/example/simple.c
+++ b/example/simple.c
@@ -1,4 +1,5 @@
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include "../jsmn.h"
diff --git a/jsmn.c b/jsmn.c
index 2809669b3..bbf013de4 100644
--- a/jsmn.c
+++ b/jsmn.c
@@ -1,5 +1,3 @@
-#include <stdlib.h>
-
#include "jsmn.h"
/**