pixman: fix warning

Cc: [email protected]
Cc: [email protected]
Signed-off-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
This commit is contained in:
Gerd Hoffmann authored and Blue Swirl committed 2013-01-12 12:42:55 +00:00
1 parent cc6e3ca93c
commit 092bb30688
1 file changed
+7
+7
View File
@@ -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"