summaryrefslogtreecommitdiffstats
path: root/libvncserver
diff options
context:
space:
mode:
authorChristian Beier <[email protected]>2018-12-29 17:33:43 +0100
committerGitHub <[email protected]>2018-12-29 17:33:43 +0100
commit139da17b6ed0ccd1acd824a87972182834671f92 (patch)
treec12a78ad2a6b43b83cc084c1a8bc651806168488 /libvncserver
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 'libvncserver')
-rw-r--r--libvncserver/ultra.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncserver/ultra.c b/libvncserver/ultra.c
index 83bddaa..cd625a5 100644
--- a/libvncserver/ultra.c
+++ b/libvncserver/ultra.c
@@ -8,7 +8,11 @@
*/
#include <rfb/rfb.h>
+#ifdef LIBVNCSERVER_HAVE_LZO
+#include <lzo/lzo1x.h>
+#else
#include "minilzo.h"
+#endif
/*
* cl->beforeEncBuf contains pixel data in the client's format.