summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
Diffstat (limited to 'node')
-rw-r--r--node/Packet.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node/Packet.hpp b/node/Packet.hpp
index f3f197e7..79fff344 100644
--- a/node/Packet.hpp
+++ b/node/Packet.hpp
@@ -34,7 +34,11 @@
#include "Utils.hpp"
#include "Buffer.hpp"
+#ifdef ZT_USE_SYSTEM_LZ4
+#include <lz4.h>
+#else
#include "../ext/lz4/lz4.h"
+#endif
/**
* Protocol version -- incremented only for major changes