Remove the turbojpeg.h dependency from public headers

Closes #230
pull/3/head
Christian Beier 6 years ago
parent 5c968dd8a4
commit e611616723
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -23,6 +23,8 @@
#ifdef LIBVNCSERVER_HAVE_LIBZ #ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG #ifdef LIBVNCSERVER_HAVE_LIBJPEG
#include "turbojpeg.h"
/* /*
* tight.c - handle ``tight'' encoding. * tight.c - handle ``tight'' encoding.
* *

@ -52,7 +52,6 @@
#endif #endif
#include <rfb/rfbproto.h> #include <rfb/rfbproto.h>
#include <rfb/keysym.h> #include <rfb/keysym.h>
#include "turbojpeg.h"
#ifdef LIBVNCSERVER_HAVE_SASL #ifdef LIBVNCSERVER_HAVE_SASL
#include <sasl/sasl.h> #include <sasl/sasl.h>
@ -428,7 +427,7 @@ typedef struct _rfbClient {
#ifdef LIBVNCSERVER_HAVE_LIBZ #ifdef LIBVNCSERVER_HAVE_LIBZ
#ifdef LIBVNCSERVER_HAVE_LIBJPEG #ifdef LIBVNCSERVER_HAVE_LIBJPEG
/** JPEG decoder state. */ /** JPEG decoder state. */
tjhandle tjhnd; void *tjhnd;
#endif #endif
#endif #endif

Loading…
Cancel
Save