]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
lib/raid6: add missing include for raid6test
authorDaniel Verkamp <dverkamp@chromium.org>
Mon, 12 Nov 2018 23:22:16 +0000 (15:22 -0800)
committerShaohua Li <shli@fb.com>
Thu, 20 Dec 2018 16:53:23 +0000 (08:53 -0800)
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>
include/linux/raid/pq.h

index ea8505204fdfc6dd17cab030f9ead1af419455ef..0c245dcb8b480980a6e160274778d8d0a8502c6b 100644 (file)
@@ -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 */