]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qmp.c
coroutine-lock: place CoMutex before CoQueue in header
[mirror_qemu.git] / qmp.c
diff --git a/qmp.c b/qmp.c
index 886059ef94f3a56cd67dfe32a8510139f5f479c3..dfaabac1a6ca975e74ffe87b176f1d54da3bf018 100644 (file)
--- a/qmp.c
+++ b/qmp.c
@@ -18,6 +18,7 @@
 #include "qemu/cutils.h"
 #include "monitor/monitor.h"
 #include "sysemu/sysemu.h"
+#include "qemu/config-file.h"
 #include "qemu/uuid.h"
 #include "qmp-commands.h"
 #include "sysemu/char.h"
@@ -616,7 +617,7 @@ void qmp_add_client(const char *protocol, const char *fdname,
                     bool has_skipauth, bool skipauth, bool has_tls, bool tls,
                     Error **errp)
 {
-    CharDriverState *s;
+    Chardev *s;
     int fd;
 
     fd = monitor_get_fd(cur_mon, fdname, errp);