summaryrefslogtreecommitdiff
path: root/example/jsondump.c
diff options
context:
space:
mode:
authorBastien Dejean <nihilhill@gmail.com>2015-12-14 15:05:46 +0100
committerBastien Dejean <nihilhill@gmail.com>2015-12-14 15:05:46 +0100
commite4d526a4033c4548dc3f9ade2ec14ff87b9455ea (patch)
tree1d40ca009f0f75b00c93370ebaf94e15684d76ba /example/jsondump.c
parentfdceddf6854af498e192427d70bcc9c2e98a1729 (diff)
Fix deheader warnings
Prior to this commit the output of deheader was: remove <stdlib.h> from ./jsmn.c in ./example/jsondump.c, realloc() portability requires <unistd.h>. in ./example/simple.c, strtol() portability requires <stdlib.h>. saw 4 files, 16 includes, 1 removable
Diffstat (limited to 'example/jsondump.c')
-rw-r--r--example/jsondump.c1
1 files changed, 1 insertions, 0 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"