X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=blobmsg_json.c;h=ffde23d33e15d11829bfea631aab3004f377751a;hp=5aa528bc338abbd0e7621931e421349f4e7ebca4;hb=0bfb44f590402137bfcf8e65c54638908d5ed6d2;hpb=c8fc0897cdfff6393919030e24809e938ee5076f diff --git a/blobmsg_json.c b/blobmsg_json.c index 5aa528b..ffde23d 100644 --- a/blobmsg_json.c +++ b/blobmsg_json.c @@ -17,6 +17,12 @@ #include "blobmsg.h" #include "blobmsg_json.h" +#ifdef JSONC + #include +#else + #include +#endif + bool blobmsg_add_object(struct blob_buf *b, json_object *obj) { json_object_object_foreach(obj, key, val) {