diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compat/compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h index 96f3556..c18978e 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -38,6 +38,10 @@ #error "WireGuard requires Linux >= 3.10" #endif +#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0) +#error "WireGuard has been merged into Linux >= 5.6 and therefore this compatibility module is no longer required." +#endif + #if defined(ISRHEL7) #include <linux/skbuff.h> #define headers_end headers_start |