json_script: do not rely on global includes for other libubox header files

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
This commit is contained in:
Felix Fietkau 2013-03-02 16:19:30 +01:00
parent 38ea521911
commit b2010c706c
2 changed files with 5 additions and 6 deletions

View file

@ -16,8 +16,7 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <regex.h> #include <regex.h>
#include <libubox/avl-cmp.h> #include "avl-cmp.h"
#include "json_script.h" #include "json_script.h"
struct json_call { struct json_call {

View file

@ -16,10 +16,10 @@
#ifndef __JSON_SCRIPT_H #ifndef __JSON_SCRIPT_H
#define __JSON_SCRIPT_H #define __JSON_SCRIPT_H
#include <libubox/avl.h> #include "avl.h"
#include <libubox/blob.h> #include "blob.h"
#include <libubox/blobmsg.h> #include "blobmsg.h"
#include <libubox/utils.h> #include "utils.h"
struct json_script_file; struct json_script_file;