Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-09-23 14:03:32 +0400
committerFelix Fietkau <nbd@openwrt.org>2014-09-23 14:03:32 +0400
commit6f2c688d68f57dedede87e08e74d82ac18244fa0 (patch)
tree4381689a2fd2f77c45c7316e35acbe23416579ee /blobmsg_json.h
parentc8fc0897cdfff6393919030e24809e938ee5076f (diff)
blobmsg_json: include json.h inside blobmsg_json.c instead of the public header file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blobmsg_json.h')
-rw-r--r--blobmsg_json.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/blobmsg_json.h b/blobmsg_json.h
index e8036eb..5ea6f09 100644
--- a/blobmsg_json.h
+++ b/blobmsg_json.h
@@ -16,11 +16,8 @@
#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"