aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/raid
diff options
context:
space:
mode:
authorDaniel Verkamp <dverkamp@chromium.org>2018-11-12 15:22:16 -0800
committerShaohua Li <shli@fb.com>2018-12-20 08:53:23 -0800
commite731f3e28b7e7d1c745b03084e01036ee00018eb (patch)
treebcce83ec3022eae351f5214d0448bd4b604d3813 /include/linux/raid
parentmd: remove set but not used variable 'bi_rdev' (diff)
downloadlinux-dev-e731f3e28b7e7d1c745b03084e01036ee00018eb.tar.xz
linux-dev-e731f3e28b7e7d1c745b03084e01036ee00018eb.zip
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.h1
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 */