summary refs log tree commit diff stats
path: root/include/ui/qemu-pixman.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-10-25 16:15:24 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-11-07 14:04:25 +0400
commit79a1f32559cbd1f2d8c6fc96c581fd460317a284 (patch)
treeb951ebb423d8052e71a65b28c2e4e66560aee628 /include/ui/qemu-pixman.h
parentb3ec48cf9241efd443caebb732587ac9cb33094b (diff)
downloadfocaccia-qemu-79a1f32559cbd1f2d8c6fc96c581fd460317a284.tar.gz
focaccia-qemu-79a1f32559cbd1f2d8c6fc96c581fd460317a284.zip
ui: add pixman-minimal.h
This is a tiny subset of PIXMAN API that is used pervasively in QEMU
codebase to manage images and identify the underlying format.

It doesn't seems worth to wrap this in a QEMU-specific API.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/ui/qemu-pixman.h')
-rw-r--r--include/ui/qemu-pixman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h
index c140cd84b6..ef13a8210c 100644
--- a/include/ui/qemu-pixman.h
+++ b/include/ui/qemu-pixman.h
@@ -8,6 +8,8 @@
 
 #ifdef CONFIG_PIXMAN
 #include <pixman.h>
+#else
+#include "pixman-minimal.h"
 #endif
 
 /*