From: Michal Privoznik Date: Mon, 13 Apr 2020 14:01:42 +0000 (+0200) Subject: lxc_fuse: Move #include X-Git-Tag: v8.2.0-rc1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2543cdf9821adab444d88a50849df68bc3563c42;p=thirdparty%2Flibvirt.git lxc_fuse: Move #include 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 --- 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"