From: Etienne CHAMPETIER Date: Fri, 27 Nov 2015 16:27:07 +0000 (+0000) Subject: ujail: remove "#include log.h" from elf.h X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=321edb642dc6b7fef52c05d93de16ec47c96d1f0 ujail: remove "#include log.h" from elf.h headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- 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 #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 #include -#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 #include