commit | c39caafbbbf3227517f2ae1081fc01716f19b263 | [log] [tgz] |
---|---|---|
author | Xiaolei Yu <[email protected]> | Wed Oct 11 14:46:29 2017 +0800 |
committer | Xiaolei Yu <[email protected]> | Wed Oct 11 15:37:52 2017 +0800 |
tree | a429543e4bab4a730805f52059546c290e568b8e | |
parent | 85b80dc18db98b7950062f57457f8fcd49ba927e [diff] |
libsparse: fix building on linux host. memset is declared in <string.h> Test: builds and works on host Change-Id: I224a01c78ee1d0c2f8d5e86eef10c84c8960cbc0
diff --git a/libsparse/sparse_read.cpp b/libsparse/sparse_read.cpp index bd66873..91d551c 100644 --- a/libsparse/sparse_read.cpp +++ b/libsparse/sparse_read.cpp
@@ -25,6 +25,7 @@ #include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <string> #include <unistd.h>