mirror of https://gitee.com/openkylin/libvirt.git
src: add missing headers to various files
All these headers are indirectly included provided by virfile.h having virstoragefile.h which will be removed in the following patch. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
f1007b1eb4
commit
b2b1702341
|
@ -29,6 +29,7 @@
|
|||
#include "virfile.h"
|
||||
#include "virlog.h"
|
||||
#include "virmodule.h"
|
||||
#include "virobject.h"
|
||||
#include "virstring.h"
|
||||
#include "virthread.h"
|
||||
#include "virutil.h"
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
#include "configmake.h"
|
||||
#include "viralloc.h"
|
||||
#include "virenum.h"
|
||||
#include "virerror.h"
|
||||
#include "virfile.h"
|
||||
#include "virhash.h"
|
||||
#include "virlog.h"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
#include "virgettext.h"
|
||||
#include "virthread.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_QEMU
|
||||
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
#include "virstring.h"
|
||||
#include "virgettext.h"
|
||||
#include "virdevmapper.h"
|
||||
#include "virerror.h"
|
||||
|
||||
/* we don't need to include the full internal.h just for this */
|
||||
#define STREQ(a, b) (strcmp(a, b) == 0)
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#include "viralloc.h"
|
||||
#include "virarptable.h"
|
||||
#include "virerror.h"
|
||||
#include "virfile.h"
|
||||
#include "virlog.h"
|
||||
#include "virnetlink.h"
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
#include "virsystemd.h"
|
||||
#include "virerror.h"
|
||||
#include "viralloc.h"
|
||||
#include "virthread.h"
|
||||
|
||||
VIR_LOG_INIT("util.cgroup");
|
||||
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
#include "virbpf.h"
|
||||
#include "vircgroup.h"
|
||||
#include "vircgroupv2devices.h"
|
||||
#include "virerror.h"
|
||||
#include "virfile.h"
|
||||
#include "virlog.h"
|
||||
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "internal.h"
|
||||
#include "virbitmap.h"
|
||||
#include "virstoragefile.h"
|
||||
#include "virenum.h"
|
||||
|
||||
typedef enum {
|
||||
VIR_FILE_CLOSE_PRESERVE_ERRNO = 1 << 0,
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include "virpidfile.h"
|
||||
#include "virfile.h"
|
||||
#include "viralloc.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virutil.h"
|
||||
#include "virlog.h"
|
||||
#include "virerror.h"
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#define LIBVIRT_VIRRESCTRLPRIV_H_ALLOW
|
||||
#include "virresctrlpriv.h"
|
||||
#include "viralloc.h"
|
||||
#include "virbuffer.h"
|
||||
#include "virfile.h"
|
||||
#include "virlog.h"
|
||||
#include "virobject.h"
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
#include "virlog.h"
|
||||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
#include "virxml.h"
|
||||
|
||||
#define LIBVIRT_VIRSYSINFOPRIV_H_ALLOW
|
||||
#include "virsysinfopriv.h"
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include "virbitmap.h"
|
||||
#include "virjson.h"
|
||||
#include "virlog.h"
|
||||
#include "virthread.h"
|
||||
|
||||
#define VIR_FROM_THIS VIR_FROM_TPM
|
||||
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
# include "viralloc.h"
|
||||
# include "virthread.h"
|
||||
# include "virerror.h"
|
||||
# include "virobject.h"
|
||||
|
||||
VIR_LOG_INIT("tools.virsh-console");
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include "virfile.h"
|
||||
#include "virstring.h"
|
||||
#include "viralloc.h"
|
||||
#include "virxml.h"
|
||||
|
||||
static virDomainPtr
|
||||
virshLookupDomainInternal(vshControl *ctl,
|
||||
|
|
Loading…
Reference in New Issue