]> git.proxmox.com Git - qemu.git/commitdiff
Remove unneeded setjmp.h (fix compilation on Debian "lenny")
authorStefan Weil <weil@mail.berlios.de>
Mon, 4 Jul 2011 18:52:38 +0000 (20:52 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 12 Jul 2011 20:57:08 +0000 (20:57 +0000)
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 <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
qemu-common.h

index abd7a75b72dc163eed18051abd4335cfb0cb46aa..c2b79bd60e7d73ade0da015d91881d1ba5affef8 100644 (file)
@@ -117,7 +117,6 @@ static inline char *realpath(const char *path, char *resolved_path)
 /* FIXME: Remove NEED_CPU_H.  */
 #ifndef NEED_CPU_H
 
-#include <setjmp.h>
 #include "osdep.h"
 #include "bswap.h"