wireguard: compat: guard __kernel_timespec to <4.14
Change-Id: Iac483a5dd995b3e25e6f10c7fc1c6f3ebd6b7796
This commit is contained in:
@@ -761,7 +761,7 @@ static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2,
|
||||
#define totalram_pages() totalram_pages
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 18, 0)
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
|
||||
struct __kernel_timespec {
|
||||
int64_t tv_sec, tv_nsec;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user