From: Stefan Weil Date: Mon, 4 Jul 2011 18:52:38 +0000 (+0200) Subject: Remove unneeded setjmp.h (fix compilation on Debian "lenny") X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=462df2887cf55bb95faa7a76a0fd07722c63bb0c;p=qemu.git 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 --- 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"