summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-09-27 20:37:06 +0200
committerChristian Beier <dontmind@freeshell.org>2018-09-27 21:00:50 +0200
commite611616723035d2345cf27e43c8b2eef958d5696 (patch)
tree23654551e39b17df6e46df65f382c77a8732947c
parent5c968dd8a4679817c472cbe53b118b913ea8b25c (diff)
downloadlibtdevnc-e611616723035d2345cf27e43c8b2eef958d5696.tar.gz
libtdevnc-e611616723035d2345cf27e43c8b2eef958d5696.zip
Remove the turbojpeg.h dependency from public headers
Closes #230
-rw-r--r--libvncclient/tight.c2
-rw-r--r--rfb/rfbclient.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/libvncclient/tight.c b/libvncclient/tight.c
index 64883e5..df01812 100644
--- a/libvncclient/tight.c
+++ b/libvncclient/tight.c
@@ -23,6 +23,8 @@
#ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
+#include "turbojpeg.h"
+
/*
* tight.c - handle ``tight'' encoding.
*
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index ec6ee55..87f4eaa 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -52,7 +52,6 @@
#endif
#include <rfb/rfbproto.h>
#include <rfb/keysym.h>
-#include "turbojpeg.h"
#ifdef LIBVNCSERVER_HAVE_SASL
#include <sasl/sasl.h>
@@ -428,7 +427,7 @@ typedef struct _rfbClient {
#ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/** JPEG decoder state. */
- tjhandle tjhnd;
+ void *tjhnd;
#endif
#endif