projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f91389c
)
lib/raid6: add missing include for raid6test
author
Daniel Verkamp
<dverkamp@chromium.org>
Mon, 12 Nov 2018 23:22:16 +0000
(15:22 -0800)
committer
Shaohua 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
patch
|
blob
|
history
diff --git
a/include/linux/raid/pq.h
b/include/linux/raid/pq.h
index
ea85052
..
0c245dc
100644
(file)
--- 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 */