From fb824c8ce344f574c43bce80b8b563aca5d9247f Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Mon, 30 Apr 2012 22:08:47 +0200 Subject: Some more libjpeg, libpng and zlib related build fixes. --- libvncserver/rfbserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libvncserver') diff --git a/libvncserver/rfbserver.c b/libvncserver/rfbserver.c index 51921dc..cc398f2 100644 --- a/libvncserver/rfbserver.c +++ b/libvncserver/rfbserver.c @@ -509,7 +509,7 @@ rfbNewUDPClient(rfbScreenInfoPtr rfbScreen) void rfbClientConnectionGone(rfbClientPtr cl) { -#ifdef LIBVNCSERVER_HAVE_LIBJPEG +#if defined(LIBVNCSERVER_HAVE_LIBZ) && defined(LIBVNCSERVER_HAVE_LIBJPEG) int i; #endif @@ -2990,7 +2990,7 @@ rfbSendFramebufferUpdate(rfbClientPtr cl, goto updateFailed; break; #endif -#ifdef LIBVNCSERVER_HAVE_LIBJPEG +#if defined(LIBVNCSERVER_HAVE_LIBJPEG) && (defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG)) case rfbEncodingTight: if (!rfbSendRectEncodingTight(cl, x, y, w, h)) goto updateFailed; -- cgit v1.2.1