diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-08-30 13:38:25 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-07 14:04:24 +0400 |
commit | cca157568615465887a6f741d939865659a559ae (patch) | |
tree | f2f63913b84eea7beb36ff8cbe310fef3e40f6d7 /include/ui | |
parent | bb541a7068d2eee51a9abbe2dedcdf27298b1872 (diff) | |
download | qemu-cca157568615465887a6f741d939865659a559ae.zip qemu-cca157568615465887a6f741d939865659a559ae.tar.gz qemu-cca157568615465887a6f741d939865659a559ae.tar.bz2 |
build-sys: add a "pixman" feature
For now, pixman is mandatory, but we set config_host.h and Kconfig.
Once compilation is fixed, "pixman" will become actually optional.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/qemu-pixman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index e587c48..d37feb5 100644 --- a/include/ui/qemu-pixman.h +++ b/include/ui/qemu-pixman.h @@ -6,11 +6,13 @@ #ifndef QEMU_PIXMAN_H #define QEMU_PIXMAN_H +#ifdef CONFIG_PIXMAN /* pixman-0.16.0 headers have a redundant declaration */ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wredundant-decls" #include <pixman.h> #pragma GCC diagnostic pop +#endif /* * pixman image formats are defined to be native endian, |