]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/display/next-fb.c
Move QOM typedefs and add missing includes
[mirror_qemu.git] / hw / display / next-fb.c
index b0513a8fba62599235b6ecb2119998006c32f6d8..068dc0656f18bd3f9c172f4fa0e6914462b8d9eb 100644 (file)
@@ -30,7 +30,9 @@
 #include "framebuffer.h"
 #include "ui/pixel_ops.h"
 #include "hw/m68k/next-cube.h"
+#include "qom/object.h"
 
+typedef struct NeXTFbState NeXTFbState;
 #define NEXTFB(obj) OBJECT_CHECK(NeXTFbState, (obj), TYPE_NEXTFB)
 
 struct NeXTFbState {
@@ -44,7 +46,6 @@ struct NeXTFbState {
     uint32_t rows;
     int invalidate;
 };
-typedef struct NeXTFbState NeXTFbState;
 
 static void nextfb_draw_line(void *opaque, uint8_t *d, const uint8_t *s,
                              int width, int pitch)