Support and autodetect LZO version 2.0 and later.
[tinc] / src / tincd.c
index c82872b..7619af5 100644 (file)
 #include <openssl/evp.h>
 #include <openssl/engine.h>
 
+#ifdef HAVE_LZO_LZO1X_H
+#include <lzo/lzo1x.h>
+#endif
+#ifdef HAVE_LZO1X_H
 #include <lzo1x.h>
+#endif
 
 #include <getopt.h>
 #include "pidfile.h"