vnc: Fix compilation with --enable-vnc-png
commit2fb0c09f4ff036f68474277ed4edc036f6529de8
authorStefan Weil <weil@mail.berlios.de>
Sun, 26 Jun 2011 19:29:13 +0000 (26 19:29 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jun 2011 15:21:34 +0000 (27 10:21 -0500)
tree96a95ce077e2ee7c03cbceab4639c174c1574868
parentf26e428da505709ec03b2ed2c9eb3db82b30bd7b
vnc: Fix compilation with --enable-vnc-png

Commit f26e428da505709ec03b2ed2c9eb3db82b30bd7b fixed compilation
with --enable-vnc-png, but broke it with --enable-vnc-png.

The breakage is caused by pngconfig.h which checks whether
setjmp.h was already included and fails because qemu-common.h
includes setjmp.h.

The check is disabled by defining PNG_SKIP_SETJMP_CHECK.

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc-enc-tight.c