diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-01-05 09:11:30 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-01-23 14:29:44 +0100 |
commit | 362396f8e6b9a706445014d7a3e195680bd66bde (patch) | |
tree | 90cd663e55c4e13e249d4d19fe60bd9b85665bd8 /src/compat/compat.h | |
parent | ratelimiter: build tests with !IPV6 (diff) | |
download | wireguard-monolithic-historical-362396f8e6b9a706445014d7a3e195680bd66bde.tar.xz wireguard-monolithic-historical-362396f8e6b9a706445014d7a3e195680bd66bde.zip |
noise: replace getnstimeofday64 with ktime_get_real_ts64
The former was just a wrapper around the latter, and so upstream is now
removing it.
Also adjust the compat kludge to deal with this.
Reported-by: Alex Xu <alex@alxu.ca>
Diffstat (limited to '')
-rw-r--r-- | src/compat/compat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index d20a587..4ffe387 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -647,7 +647,7 @@ struct _____dummy_container { char dev; }; #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) #define timespec64 timespec -#define getnstimeofday64 getnstimeofday +#define ktime_get_real_ts64 ktime_get_real_ts #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0) |