summaryrefslogtreecommitdiffstats
path: root/libvncclient/tight.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/tight.c')
-rw-r--r--libvncclient/tight.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/tight.c b/libvncclient/tight.c
index 77919f4..18d5639 100644
--- a/libvncclient/tight.c
+++ b/libvncclient/tight.c
@@ -17,6 +17,8 @@
* USA.
*/
+#ifdef LIBVNCSERVER_HAVE_LIBJPEG
+
/*
* tight.c - handle ``tight'' encoding.
*
@@ -604,3 +606,5 @@ DecompressJpegRectBPP(rfbClient* client, int x, int y, int w, int h)
#endif
+#endif
+