#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include "../jsmn.c"
+#include "../jsmn.h"
/*
* An example of reading JSON from stdin and printing its content to stdout.
int eof_expected = 0;
char *js = NULL;
size_t jslen = 0;
- char buf[BUFSIZ-256];
+ char buf[BUFSIZ];
jsmn_parser p;
jsmntok_t *tok;