summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2018-12-29 17:33:43 +0100
committerGitHub <noreply@github.com>2018-12-29 17:33:43 +0100
commit139da17b6ed0ccd1acd824a87972182834671f92 (patch)
treec12a78ad2a6b43b83cc084c1a8bc651806168488 /libvncclient
parente34bcbb759ca5bef85809967a268fdf214c1ad2c (diff)
parente66a8a17f3fb2dc87ebd35535c9a310068ba3b4a (diff)
downloadlibtdevnc-139da17b6ed0ccd1acd824a87972182834671f92.tar.gz
libtdevnc-139da17b6ed0ccd1acd824a87972182834671f92.zip
Merge pull request #267 from veyon/external-lzo
Allow to use global LZO library instead of miniLZO
Diffstat (limited to 'libvncclient')
-rw-r--r--libvncclient/rfbproto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index ba7d70a..e56e778 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -61,7 +61,11 @@
#endif
#include "sasl.h"
+#ifdef LIBVNCSERVER_HAVE_LZO
+#include <lzo/lzo1x.h>
+#else
#include "minilzo.h"
+#endif
#include "tls.h"
#ifdef _MSC_VER