Commit fb824c8c authored by Christian Beier's avatar Christian Beier

Some more libjpeg, libpng and zlib related build fixes.

parent ae41be23
...@@ -509,7 +509,7 @@ rfbNewUDPClient(rfbScreenInfoPtr rfbScreen) ...@@ -509,7 +509,7 @@ rfbNewUDPClient(rfbScreenInfoPtr rfbScreen)
void void
rfbClientConnectionGone(rfbClientPtr cl) rfbClientConnectionGone(rfbClientPtr cl)
{ {
#ifdef LIBVNCSERVER_HAVE_LIBJPEG #if defined(LIBVNCSERVER_HAVE_LIBZ) && defined(LIBVNCSERVER_HAVE_LIBJPEG)
int i; int i;
#endif #endif
...@@ -2990,7 +2990,7 @@ rfbSendFramebufferUpdate(rfbClientPtr cl, ...@@ -2990,7 +2990,7 @@ rfbSendFramebufferUpdate(rfbClientPtr cl,
goto updateFailed; goto updateFailed;
break; break;
#endif #endif
#ifdef LIBVNCSERVER_HAVE_LIBJPEG #if defined(LIBVNCSERVER_HAVE_LIBJPEG) && (defined(LIBVNCSERVER_HAVE_LIBZ) || defined(LIBVNCSERVER_HAVE_LIBPNG))
case rfbEncodingTight: case rfbEncodingTight:
if (!rfbSendRectEncodingTight(cl, x, y, w, h)) if (!rfbSendRectEncodingTight(cl, x, y, w, h))
goto updateFailed; goto updateFailed;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment