Gcc 7 complains about defining memset when we don't include a header
file with its prototype. So let's do.

Signed-off-by: Nadav Har'El <n...@scylladb.com>
---
 fastlz/lzloader.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fastlz/lzloader.cc b/fastlz/lzloader.cc
index 5f95e413..e05387e7 100644
--- a/fastlz/lzloader.cc
+++ b/fastlz/lzloader.cc
@@ -5,6 +5,7 @@
  * BSD license as described in the LICENSE file in the top-level directory.
  */
 #include "fastlz.h"
+#include <string.h>
 #include <cstddef>
 #include <stdint.h>
 #include <climits>
-- 
2.13.0

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to