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 /libvncclient | |
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 'libvncclient')
-rw-r--r-- | libvncclient/rfbproto.c | 4 |
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 |