Index: JSON-DWIW-0.47/libjsonevt/fixup_config --- JSON-DWIW-0.47/libjsonevt/fixup_config.orig 2010-05-27 17:25:50.000000000 +0200 +++ JSON-DWIW-0.47/libjsonevt/fixup_config 2012-12-20 09:39:32.000000000 +0100 @@ -2,7 +2,7 @@ perl_run=$1 -if [ "x$perl_run" == "x" ]; then +if [ "x$perl_run" = "x" ]; then for p in /usr/local/bin/perl /usr/bin/perl; do if [ -e $p ]; then perl_run=$p Index: json-c-0.10/Makefile.in --- json-c-0.10/Makefile.in.orig 2012-05-31 04:31:35.000000000 +0200 +++ json-c-0.10/Makefile.in 2012-12-20 09:40:10.000000000 +0100 @@ -279,6 +279,7 @@ json_inttypes.h \ json_object.h \ json_object_private.h \ + json_object_iterator.h \ json_tokener.h \ json_util.h \ linkhash.h \ Index: zzjson-1.1.0/src/zzjson_parse.c --- zzjson-1.1.0/src/zzjson_parse.c.orig 2009-08-16 02:49:38.000000000 +0200 +++ zzjson-1.1.0/src/zzjson_parse.c 2012-12-20 09:39:32.000000000 +0100 @@ -9,6 +9,7 @@ #include #include +#undef getchar #define GETC() config->getchar(config->ihandle) #define UNGETC(c) config->ungetchar(c, config->ihandle) #define SKIPWS() skipws(config)