aboutsummaryrefslogtreecommitdiff
path: root/src/tools/fsync/test_fsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/fsync/test_fsync.c')
-rw-r--r--src/tools/fsync/test_fsync.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/fsync/test_fsync.c b/src/tools/fsync/test_fsync.c
index cbeed45a650..3905d2b1575 100644
--- a/src/tools/fsync/test_fsync.c
+++ b/src/tools/fsync/test_fsync.c
@@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
+#include <sys/time.h>
#include <unistd.h>
/* O_SYNC and O_FSYNC are the same */