aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/timers/raw_skew.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/timers/raw_skew.c')
-rw-r--r--tools/testing/selftests/timers/raw_skew.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/testing/selftests/timers/raw_skew.c b/tools/testing/selftests/timers/raw_skew.c
index 030143eb09b4..957f7cd29cb1 100644
--- a/tools/testing/selftests/timers/raw_skew.c
+++ b/tools/testing/selftests/timers/raw_skew.c
@@ -25,11 +25,9 @@
#include <sys/time.h>
#include <sys/timex.h>
#include <time.h>
+#include <include/vdso/time64.h>
#include "../kselftest.h"
-#define CLOCK_MONOTONIC_RAW 4
-#define NSEC_PER_SEC 1000000000LL
-
#define shift_right(x, s) ({ \
__typeof__(x) __x = (x); \
__typeof__(s) __s = (s); \