diff --git a/Builds/VisualStudio2013/RippleD.vcxproj b/Builds/VisualStudio2013/RippleD.vcxproj
index 62dd8d958..09959bad9 100644
--- a/Builds/VisualStudio2013/RippleD.vcxproj
+++ b/Builds/VisualStudio2013/RippleD.vcxproj
@@ -1553,6 +1553,16 @@
True
+
+ True
+
+
+
+
+ True
+
+
+
True
@@ -3392,6 +3402,8 @@
+
+
diff --git a/Builds/VisualStudio2013/RippleD.vcxproj.filters b/Builds/VisualStudio2013/RippleD.vcxproj.filters
index 4336f12c4..c7b252f70 100644
--- a/Builds/VisualStudio2013/RippleD.vcxproj.filters
+++ b/Builds/VisualStudio2013/RippleD.vcxproj.filters
@@ -265,6 +265,12 @@
{A3DA589F-2CB8-7260-66DC-5975D80AB46B}
+
+ {B211F8F1-22D2-47BA-C39E-F9846A844D11}
+
+
+ {4F65E5BD-7EC4-113A-4603-B4625F16BC18}
+
{C535C933-C404-7C0F-2AB9-059F92DE0A80}
@@ -2427,6 +2433,18 @@
leveldb\util
+
+ lz4\lib
+
+
+ lz4\lib
+
+
+ lz4\lib
+
+
+ lz4\lib
+
protobuf\src\google\protobuf\compiler
@@ -4641,6 +4659,9 @@
ripple\unity
+
+ ripple\unity
+
ripple\unity
diff --git a/SConstruct b/SConstruct
index fdbb7714c..0aeca1a42 100644
--- a/SConstruct
+++ b/SConstruct
@@ -667,6 +667,7 @@ for tu_style in ['classic', 'unity']:
object_builder.add_source_files(
'src/beast/beast/unity/hash_unity.cpp',
'src/ripple/unity/beast.cpp',
+ 'src/ripple/unity/lz4.c',
'src/ripple/unity/protobuf.cpp',
'src/ripple/unity/ripple.proto.cpp',
'src/ripple/unity/resource.cpp',
diff --git a/src/ripple/unity/lz4.c b/src/ripple/unity/lz4.c
new file mode 100644
index 000000000..68431daf9
--- /dev/null
+++ b/src/ripple/unity/lz4.c
@@ -0,0 +1,24 @@
+//------------------------------------------------------------------------------
+/*
+ This file is part of rippled: https://github.com/ripple/rippled
+ Copyright (c) 2015 Ripple Labs Inc.
+
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+*/
+//==============================================================================
+
+#include
+#ifdef _MSC_VER
+#include
+#endif
+