Commit 8641c8e7 authored by dscho's avatar dscho

Fix compilation in the absence of libjpeg

The JPEG library is not necessarily installed everywhere, and sometimes
it is outright undesirable to compile with JPEG support, e.g. when the
server is not very fast.  So fix the compilation for that case.
Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
parent 357b99e5
......@@ -177,7 +177,6 @@ typedef struct _rfbClient {
#ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/*
* Variables for the ``tight'' encoding implementation.
*/
......@@ -196,6 +195,7 @@ typedef struct _rfbClient {
char tightPalette[256*4];
uint8_t tightPrevRow[2048*3*sizeof(uint16_t)];
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/* JPEG decoder state. */
rfbBool jpegError;
......
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