summaryrefslogtreecommitdiffstats
path: root/tight.c
diff options
context:
space:
mode:
Diffstat (limited to 'tight.c')
-rw-r--r--tight.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tight.c b/tight.c
index ec4b43c..6f4997f 100644
--- a/tight.c
+++ b/tight.c
@@ -27,6 +27,9 @@
/*#include <stdio.h>*/
#include "rfb.h"
+#ifdef HAVE_LIBZ
+#ifdef HAVE_LIBJPEG
+
#ifdef WIN32
#define XMD_H
#undef FAR
@@ -1798,3 +1801,5 @@ JpegSetDstManager(j_compress_ptr cinfo)
cinfo->dest = &jpegDstManager;
}
+#endif /* LIBJPEG */
+#endif /* LIBZ */