diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index 97fc96d1e6..934c41c7f1 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -3776,6 +3776,16 @@ virQEMUCapsLoadCPUModels(virQEMUCapsPtr qemuCaps, } +struct _virQEMUCapsCachePriv { + char *libDir; + uid_t runUid; + gid_t runGid; + virArch hostArch; +}; +typedef struct _virQEMUCapsCachePriv virQEMUCapsCachePriv; +typedef virQEMUCapsCachePriv *virQEMUCapsCachePrivPtr; + + static void virQEMUCapsCachePrivFree(void *privData) { diff --git a/src/qemu/qemu_capspriv.h b/src/qemu/qemu_capspriv.h index 78f7e4ab39..d05256bd35 100644 --- a/src/qemu/qemu_capspriv.h +++ b/src/qemu/qemu_capspriv.h @@ -28,18 +28,6 @@ #ifndef __QEMU_CAPSPRIV_H__ # define __QEMU_CAPSPRIV_H__ -# include "virarch.h" - -struct _virQEMUCapsCachePriv { - char *libDir; - uid_t runUid; - gid_t runGid; - virArch hostArch; -}; -typedef struct _virQEMUCapsCachePriv virQEMUCapsCachePriv; -typedef virQEMUCapsCachePriv *virQEMUCapsCachePrivPtr; - - virQEMUCapsPtr virQEMUCapsNewCopy(virQEMUCapsPtr qemuCaps); virQEMUCapsPtr