diff options
author | Tobias Junghans <tobydox@veyon.io> | 2018-11-22 15:19:37 +0100 |
---|---|---|
committer | Tobias Junghans <tobydox@veyon.io> | 2018-11-22 15:28:21 +0100 |
commit | e66a8a17f3fb2dc87ebd35535c9a310068ba3b4a (patch) | |
tree | 6353d0fafc84e11ebecdea2ba149c16f78cceaed /libvncserver | |
parent | 1452b9a6ae082382215a8d0ddcdbb38df38d9aeb (diff) | |
download | libtdevnc-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 'libvncserver')
-rw-r--r-- | libvncserver/ultra.c | 4 |
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. |