diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2018-11-13 02:22:16 +0300 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2018-12-20 19:53:23 +0300 |
commit | e731f3e28b7e7d1c745b03084e01036ee00018eb (patch) | |
tree | bcce83ec3022eae351f5214d0448bd4b604d3813 /include/linux/raid | |
parent | f91389c8d2867d10a206273b8eb3b7955b65591e (diff) | |
download | linux-e731f3e28b7e7d1c745b03084e01036ee00018eb.tar.xz |
lib/raid6: add missing include for raid6test
Add #include <sys/time.h> for gettimeofday() to fix the compiler warning
about an implicitly defined functions.
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/pq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/raid/pq.h b/include/linux/raid/pq.h index ea8505204fdf..0c245dcb8b48 100644 --- a/include/linux/raid/pq.h +++ b/include/linux/raid/pq.h @@ -35,6 +35,7 @@ extern const char raid6_empty_zero_page[PAGE_SIZE]; #include <limits.h> #include <stddef.h> #include <sys/mman.h> +#include <sys/time.h> #include <sys/types.h> /* Not standard, but glibc defines it */ |