summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-08-29 13:23:57 +0200
committerFelix Fietkau <nbd@openwrt.org>2014-08-29 13:23:57 +0200
commitac51761d6b2262a1640e576ddff5a8ea4c7999d0 (patch)
tree2f5768dec2300cd45850c75a1cc1a3fd802d836f
parent35e01a9601292b2f609e65c2ddb3990cba8f378e (diff)
downloadunitd-ac51761d6b2262a1640e576ddff5a8ea4c7999d0.tar
unitd-ac51761d6b2262a1640e576ddff5a8ea4c7999d0.zip
explicitly include json/json.h where needed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--plug/hotplug.c1
-rw-r--r--service/validate.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/plug/hotplug.c b/plug/hotplug.c
index ef98f38..6f65c17 100644
--- a/plug/hotplug.c
+++ b/plug/hotplug.c
@@ -22,6 +22,7 @@
#include <libubox/blobmsg_json.h>
#include <libubox/json_script.h>
#include <libubox/uloop.h>
+#include <json/json.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/service/validate.c b/service/validate.c
index 3312d1d..a33a48e 100644
--- a/service/validate.c
+++ b/service/validate.c
@@ -13,6 +13,7 @@
#include <libubox/blobmsg_json.h>
#include <libubox/avl-cmp.h>
+#include <json/json.h>
#include "../procd.h"