Signed-off-by: Gerd Hoffmann <kra...@redhat.com> --- include/qemu/option.h | 2 +- include/qemu/typedefs.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/qemu/option.h b/include/qemu/option.h index 57e51c9..28195ba 100644 --- a/include/qemu/option.h +++ b/include/qemu/option.h @@ -28,6 +28,7 @@ #include <stdint.h> #include "qemu/queue.h" +#include "qemu/typedefs.h" #include "qapi/error.h" #include "qapi/qmp/qdict.h" @@ -45,7 +46,6 @@ bool has_help_option(const char *param); bool is_valid_option_list(const char *param); typedef struct QemuOpt QemuOpt; -typedef struct QemuOpts QemuOpts; typedef struct QemuOptsList QemuOptsList; enum QemuOptType { diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 6fdcbcd..690ff69 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -66,6 +66,7 @@ typedef struct QEMUBH QEMUBH; typedef struct QemuConsole QemuConsole; typedef struct QEMUFile QEMUFile; typedef struct QEMUMachine QEMUMachine; +typedef struct QemuOpts QemuOpts; typedef struct QEMUSGList QEMUSGList; typedef struct QEMUSizedBuffer QEMUSizedBuffer; typedef struct QEMUTimerListGroup QEMUTimerListGroup; -- 1.8.3.1