From 2543cdf9821adab444d88a50849df68bc3563c42 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 13 Apr 2020 16:01:42 +0200 Subject: [PATCH] lxc_fuse: Move #include MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There is no need to include the fuse.h from the header file. Move the include into the lxc_fuse.c then. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- src/lxc/lxc_fuse.c | 5 +++++ src/lxc/lxc_fuse.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c index 0550ff5ab4..3732f2e245 100644 --- a/src/lxc/lxc_fuse.c +++ b/src/lxc/lxc_fuse.c @@ -25,6 +25,11 @@ #include #include +#if WITH_FUSE +# define FUSE_USE_VERSION 26 +# include +#endif + #include "lxc_fuse.h" #include "lxc_cgroup.h" #include "lxc_conf.h" diff --git a/src/lxc/lxc_fuse.h b/src/lxc/lxc_fuse.h index 195e1e431a..4065bff7ce 100644 --- a/src/lxc/lxc_fuse.h +++ b/src/lxc/lxc_fuse.h @@ -20,11 +20,6 @@ #pragma once -#define FUSE_USE_VERSION 26 - -#if WITH_FUSE -# include -#endif #include "virconftypes.h" -- 2.47.2