diff options
author | Daniel Verkamp <dverkamp@chromium.org> | 2018-11-12 18:22:16 -0500 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2018-12-20 11:53:23 -0500 |
commit | e731f3e28b7e7d1c745b03084e01036ee00018eb (patch) | |
tree | bcce83ec3022eae351f5214d0448bd4b604d3813 | |
parent | f91389c8d2867d10a206273b8eb3b7955b65591e (diff) |
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>
-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]; | |||
35 | #include <limits.h> | 35 | #include <limits.h> |
36 | #include <stddef.h> | 36 | #include <stddef.h> |
37 | #include <sys/mman.h> | 37 | #include <sys/mman.h> |
38 | #include <sys/time.h> | ||
38 | #include <sys/types.h> | 39 | #include <sys/types.h> |
39 | 40 | ||
40 | /* Not standard, but glibc defines it */ | 41 | /* Not standard, but glibc defines it */ |