diff options
author | dscho <dscho> | 2008-04-28 15:35:56 +0000 |
---|---|---|
committer | dscho <dscho> | 2008-04-28 15:35:56 +0000 |
commit | 8641c8e7bf8cb1d49ecb1eb30d57700d56822dea (patch) | |
tree | bd1bdbe171b76439f00e09e815953d2826523278 /rfb/rfbclient.h | |
parent | 357b99e5f2bdf52abde93aae2bb143b98341b39f (diff) | |
download | libtdevnc-8641c8e7bf8cb1d49ecb1eb30d57700d56822dea.tar.gz libtdevnc-8641c8e7bf8cb1d49ecb1eb30d57700d56822dea.zip |
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: Johannes Schindelin <[email protected]>
Diffstat (limited to 'rfb/rfbclient.h')
-rw-r--r-- | rfb/rfbclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h index 975a66a..b92f220 100644 --- a/rfb/rfbclient.h +++ b/rfb/rfbclient.h @@ -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; |