mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
pixman: fix warning
Cc: afaerber@suse.de Cc: agraf@suse.de Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
cc6e3ca93c
commit
092bb30688
@ -6,7 +6,14 @@
|
||||
#ifndef QEMU_PIXMAN_H
|
||||
#define QEMU_PIXMAN_H
|
||||
|
||||
/* pixman-0.16.0 headers have a redundant declaration */
|
||||
#ifdef CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
#endif
|
||||
#include <pixman.h>
|
||||
#ifdef CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE
|
||||
#pragma GCC diagnostic error "-Wredundant-decls"
|
||||
#endif
|
||||
|
||||
#include "console.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user