summaryrefslogtreecommitdiff
path: root/node/Packet.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-08 12:50:56 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-08 12:50:56 -0700
commit6c6b18d003c865619582b254be1ea7f6e11ef58c (patch)
tree86c586b5bdc883d0e5cfee7bb9ecf0bfc4397043 /node/Packet.hpp
parent4da9d4e53a7fc0e0badf0c487cad531ba7662046 (diff)
downloadinfinitytier-6c6b18d003c865619582b254be1ea7f6e11ef58c.tar.gz
infinitytier-6c6b18d003c865619582b254be1ea7f6e11ef58c.zip
Fix include for system lz4.
Diffstat (limited to 'node/Packet.hpp')
-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