From 092bb3068801bd6bfc90fcced2661e77bb811764 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 9 Jan 2013 10:17:08 +0100 Subject: pixman: fix warning Cc: afaerber@suse.de Cc: agraf@suse.de Signed-off-by: Gerd Hoffmann Signed-off-by: Blue Swirl --- include/ui/qemu-pixman.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index 3c05c83a7c..016fd87726 100644 --- a/include/ui/qemu-pixman.h +++ b/include/ui/qemu-pixman.h @@ -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 +#ifdef CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE +#pragma GCC diagnostic error "-Wredundant-decls" +#endif #include "console.h" -- cgit v1.2.3