Support and autodetect LZO version 2.0 and later.
[oweals/tinc.git] / src / tincd.c
index c82872b35ac87de9b8d357441554d5542b9e1aac..7619af552cbc8ef1369f5f79b2be6d004284a5a4 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"