mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00:00
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:
parent
2cbe2f0960
commit
cc0c775b62
src/lxc
@ -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"
|
||||
|
@ -26,7 +26,7 @@
|
||||
# include <fuse.h>
|
||||
#endif
|
||||
|
||||
#include "lxc_conf.h"
|
||||
#include "virconftypes.h"
|
||||
|
||||
typedef struct virLXCFuse virLXCFuse;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user