aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-01-09 10:17:08 +0100
committerBlue Swirl <blauwirbel@gmail.com>2013-01-12 12:42:55 +0000
commit092bb3068801bd6bfc90fcced2661e77bb811764 (patch)
treef6ee39e2341f726935d38b4be3615f745c89c4f9 /include/ui
parentcc6e3ca93c1b40fba579e8724dd06ca9f0507b31 (diff)
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>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/qemu-pixman.h7
1 files changed, 7 insertions, 0 deletions
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 <pixman.h>
+#ifdef CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE
+#pragma GCC diagnostic error "-Wredundant-decls"
+#endif
#include "console.h"