aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2011-07-04 20:52:38 +0200
committerBlue Swirl <blauwirbel@gmail.com>2011-07-12 20:57:08 +0000
commit462df2887cf55bb95faa7a76a0fd07722c63bb0c (patch)
treef50ed8b135c3cc08c66fe86b594af9b13f3d6254 /qemu-common.h
parent0d10193870b5a81c3bce13a602a5403c3a55cf6c (diff)
downloadqemu-462df2887cf55bb95faa7a76a0fd07722c63bb0c.zip
qemu-462df2887cf55bb95faa7a76a0fd07722c63bb0c.tar.gz
qemu-462df2887cf55bb95faa7a76a0fd07722c63bb0c.tar.bz2
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 <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-common.h b/qemu-common.h
index abd7a75..c2b79bd 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 <setjmp.h>
#include "osdep.h"
#include "bswap.h"