summaryrefslogtreecommitdiffstats
path: root/libvncclient
diff options
context:
space:
mode:
authorTobias Junghans <tobydox@veyon.io>2018-11-22 15:19:37 +0100
committerTobias Junghans <tobydox@veyon.io>2018-11-22 15:28:21 +0100
commite66a8a17f3fb2dc87ebd35535c9a310068ba3b4a (patch)
tree6353d0fafc84e11ebecdea2ba149c16f78cceaed /libvncclient
parent1452b9a6ae082382215a8d0ddcdbb38df38d9aeb (diff)
downloadlibtdevnc-e66a8a17f3fb2dc87ebd35535c9a310068ba3b4a.tar.gz
libtdevnc-e66a8a17f3fb2dc87ebd35535c9a310068ba3b4a.zip
Allow to use global LZO library instead of miniLZO
The complete LZO library nowadays is installed on many systems so we can optionally make use of it and omit internal miniLZO implementation.
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 4541e0d..82536cd 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