1
0
Fork 0

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
Daniel Verkamp 2018-11-12 15:22:16 -08:00 committed by Shaohua Li
parent f91389c8d2
commit e731f3e28b
1 changed files with 1 additions and 0 deletions

View 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 */