Browse Source

Remove the turbojpeg.h dependency from public headers

Closes #230
pull/3/head
Christian Beier 4 years ago
parent
commit
e611616723
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8
  1. 2
      libvncclient/tight.c
  2. 3
      rfb/rfbclient.h

2
libvncclient/tight.c

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

3
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

Loading…
Cancel
Save