From patchwork Wed Jan 9 09:17:08 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/2] pixman: fix warning Date: Tue, 08 Jan 2013 23:17:08 -0000 From: Gerd Hoffmann X-Patchwork-Id: 210642 Message-Id: <1357723028-12929-2-git-send-email-kraxel@redhat.com> To: qemu-devel@nongnu.org Cc: agraf@suse.de, Gerd Hoffmann , afaerber@suse.de Cc: afaerber@suse.de Cc: agraf@suse.de Signed-off-by: Gerd Hoffmann --- include/ui/qemu-pixman.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index 3c05c83..016fd87 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"