blobmsg_json: include json.h inside blobmsg_json.c instead of the public header file
[project/libubox.git] / blobmsg_json.h
index e8036eb..5ea6f09 100644 (file)
 #ifndef __BLOBMSG_JSON_H
 #define __BLOBMSG_JSON_H
 
 #ifndef __BLOBMSG_JSON_H
 #define __BLOBMSG_JSON_H
 
-#ifdef JSONC
-       #include <json.h>
-#else
-       #include <json/json.h>
-#endif
+struct json_object;
+typedef struct json_object json_object;
 
 #include <stdbool.h>
 #include "blobmsg.h"
 
 #include <stdbool.h>
 #include "blobmsg.h"