Message ID | 1448641636-42493-9-git-send-email-champetier.etienne@gmail.com |
---|---|
State | Accepted |
Headers | show |
diff --git a/jail/elf.c b/jail/elf.c index 6d36215..5e22606 100644 --- a/jail/elf.c +++ b/jail/elf.c @@ -26,6 +26,7 @@ #include <libubox/utils.h> #include "elf.h" +#include "log.h" struct avl_tree libraries; static LIST_HEAD(library_paths); diff --git a/jail/elf.h b/jail/elf.h index 570e4d0..4ab928d 100644 --- a/jail/elf.h +++ b/jail/elf.h @@ -16,8 +16,6 @@ #include <libubox/avl.h> #include <libubox/avl-cmp.h> -#include "log.h" - struct library { struct avl_node avl; char *name; diff --git a/jail/jail.c b/jail/jail.c index 7349a05..ae09623 100644 --- a/jail/jail.c +++ b/jail/jail.c @@ -28,6 +28,7 @@ #include "elf.h" #include "capabilities.h" +#include "log.h" #include <libubox/list.h> #include <libubox/uloop.h>
headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> --- jail/elf.c | 1 + jail/elf.h | 2 -- jail/jail.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-)