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 bc2375434dba1c3bcd5125ce658541082791467a..a28821457c37ee4ba09af8757840863d370323b6 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 e28b51100cccdaac897fb35558ef7bf60fef905e..6c46f9935caa5b3ba08f2f98c5d4c03cea2a52db 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;