From 321edb642dc6b7fef52c05d93de16ec47c96d1f0 Mon Sep 17 00:00:00 2001 From: Etienne CHAMPETIER Date: Fri, 27 Nov 2015 16:27:07 +0000 Subject: [PATCH] ujail: remove "#include log.h" from elf.h headers must include all there dependencies, no more, no less Signed-off-by: Etienne CHAMPETIER --- jail/elf.c | 1 + jail/elf.h | 2 -- jail/jail.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1