From 462df2887cf55bb95faa7a76a0fd07722c63bb0c Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 4 Jul 2011 20:52:38 +0200 Subject: [PATCH] Remove unneeded setjmp.h (fix compilation on Debian "lenny") Some versions of png.h cannot be included after setjmp.h, even when PNG_SKIP_SETJMP_CHECK was defined. setjmp.h was included from qemu-common.h and is not needed there. Removing the include statement fixes compilation of ui/vnc-enc-tight.c with CONFIG_VNC_PNG defined. Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- qemu-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/qemu-common.h b/qemu-common.h index abd7a75b72..c2b79bd60e 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -117,7 +117,6 @@ static inline char *realpath(const char *path, char *resolved_path) /* FIXME: Remove NEED_CPU_H. */ #ifndef NEED_CPU_H -#include #include "osdep.h" #include "bswap.h" -- 2.11.0