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>hifive-unleashed-5.1
parent
f91389c8d2
commit
e731f3e28b
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue