json_script: do not rely on global includes for other libubox header files
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Mar 2013 15:19:30 +0000 (16:19 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 2 Mar 2013 15:21:11 +0000 (16:21 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
json_script.c
json_script.h

index bc23754..a288214 100644 (file)
@@ -16,8 +16,7 @@
 #include <sys/stat.h>
 #include <regex.h>
 
-#include <libubox/avl-cmp.h>
-
+#include "avl-cmp.h"
 #include "json_script.h"
 
 struct json_call {
index e28b511..6c46f99 100644 (file)
 #ifndef __JSON_SCRIPT_H
 #define __JSON_SCRIPT_H
 
-#include <libubox/avl.h>
-#include <libubox/blob.h>
-#include <libubox/blobmsg.h>
-#include <libubox/utils.h>
+#include "avl.h"
+#include "blob.h"
+#include "blobmsg.h"
+#include "utils.h"
 
 struct json_script_file;