Skip to content

Instantly share code, notes, and snippets.

@mattmacleod
Created August 16, 2021 21:10
Show Gist options
  • Save mattmacleod/c6589fadeaaf83f2c7d75321d9172bbe to your computer and use it in GitHub Desktop.
Save mattmacleod/c6589fadeaaf83f2c7d75321d9172bbe to your computer and use it in GitHub Desktop.
--- src/compat/compat.h 2021-08-10 19:15:01.000000000 +0100
+++ src/compat/compat.h 2021-08-10 19:15:02.000000000 +0100
@@ -39,10 +39,6 @@
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment