]> git.proxmox.com Git - mirror_qemu.git/blobdiff - include/io/channel-websock.h
Move QOM typedefs and add missing includes
[mirror_qemu.git] / include / io / channel-websock.h
index a7e5e92e61ee9cf0e1608eb3af7290909b13640d..5ab8811306be902f05775e70c3312fe6479cb14c 100644 (file)
 #include "io/channel.h"
 #include "qemu/buffer.h"
 #include "io/task.h"
+#include "qom/object.h"
 
 #define TYPE_QIO_CHANNEL_WEBSOCK "qio-channel-websock"
+typedef struct QIOChannelWebsock QIOChannelWebsock;
 #define QIO_CHANNEL_WEBSOCK(obj)                                     \
     OBJECT_CHECK(QIOChannelWebsock, (obj), TYPE_QIO_CHANNEL_WEBSOCK)
 
-typedef struct QIOChannelWebsock QIOChannelWebsock;
 typedef union QIOChannelWebsockMask QIOChannelWebsockMask;
 
 union QIOChannelWebsockMask {