diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-07-18 10:55:20 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2011-07-18 10:55:20 +0000 |
commit | 259adda6c8eb5471ebbbf2d5c464344063b6c1b4 (patch) | |
tree | f54c91e4d1450b615b0c7e0f6a66c6f46b7f6f2d | |
parent | 7cd604a9ce20e2533f8c6eb4fb6fb820df6331e6 (diff) |
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>
-rw-r--r-- | qemu-common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-common.h b/qemu-common.h index abd7a75b7..c2b79bd60 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" |