wireguard: compat: guard __kernel_timespec to <4.14

Change-Id: Iac483a5dd995b3e25e6f10c7fc1c6f3ebd6b7796
This commit is contained in:
basamaryan
2025-09-26 16:47:57 -07:00
committed by theshaenix
parent 3e429401ad
commit 8d60ed7eac

View File

@@ -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;
};