diff --git a/Builds/VisualStudio2013/RippleD.vcxproj b/Builds/VisualStudio2013/RippleD.vcxproj
index f42c446f6..35d96db61 100755
--- a/Builds/VisualStudio2013/RippleD.vcxproj
+++ b/Builds/VisualStudio2013/RippleD.vcxproj
@@ -1123,6 +1123,16 @@
+
+ True
+
+
+
+
+ True
+
+
+
True
@@ -2952,6 +2962,8 @@
+
+
diff --git a/Builds/VisualStudio2013/RippleD.vcxproj.filters b/Builds/VisualStudio2013/RippleD.vcxproj.filters
index fc667a6a0..2406b0bb7 100644
--- a/Builds/VisualStudio2013/RippleD.vcxproj.filters
+++ b/Builds/VisualStudio2013/RippleD.vcxproj.filters
@@ -226,6 +226,12 @@
{9DEED977-2072-A182-5BD9-CEBF206E8C91}
+
+ {B211F8F1-22D2-47BA-C39E-F9846A844D11}
+
+
+ {4F65E5BD-7EC4-113A-4603-B4625F16BC18}
+
{C535C933-C404-7C0F-2AB9-059F92DE0A80}
@@ -1863,6 +1869,18 @@
ed25519-donna
+
+ lz4\lib
+
+
+ lz4\lib
+
+
+ lz4\lib
+
+
+ lz4\lib
+
protobuf\src\google\protobuf\compiler
@@ -4068,6 +4086,9 @@
ripple\unity
+
+ ripple\unity
+
ripple\unity
diff --git a/SConstruct b/SConstruct
index 00e1ec9c9..2534e6ddc 100644
--- a/SConstruct
+++ b/SConstruct
@@ -666,6 +666,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
+