Thanks, applied.

On Mon, Jul 4, 2011 at 9:52 PM, Stefan Weil <w...@mail.berlios.de> wrote:
> 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 <w...@mail.berlios.de>
> ---
>  qemu-common.h |    1 -
>  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"
>
> --
> 1.7.2.5
>
>
>

Reply via email to