lxc_fuse.h: Don't include lxc_conf.h

Nothing in the lxc_fuse.h header file warrants inclusion of
lxc_conf.h. If anything, virconftypes.h must be included because
of virDomainDef required by lxcSetupFuse().

It's actually lxc_fuse.c that requires some macros from
lxc_fuse.h (e.g. LXC_STATE_DIR).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Michal Privoznik 2022-02-22 12:51:32 +01:00
parent 2cbe2f0960
commit cc0c775b62
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
#include "lxc_fuse.h"
#include "lxc_cgroup.h"
#include "lxc_conf.h"
#include "virerror.h"
#include "virfile.h"
#include "virbuffer.h"

View File

@ -26,7 +26,7 @@
# include <fuse.h>
#endif
#include "lxc_conf.h"
#include "virconftypes.h"
typedef struct virLXCFuse virLXCFuse;