aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-09-11 12:36:06 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2019-09-11 12:36:06 -0400
commitf302f5e28a3a41c8ee1b40c5a2b5b1d6dd563f92 (patch)
treefd655728e63c5a4f468e76950afacd0836bcebba
parentversion: bump snapshot (diff)
downloadWireGuard-f302f5e28a3a41c8ee1b40c5a2b5b1d6dd563f92.tar.xz
WireGuard-f302f5e28a3a41c8ee1b40c5a2b5b1d6dd563f92.zip
compat: support newer PaX
Reported-by: PaX Team <pageexec@freemail.hu>
-rw-r--r--src/compat/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compat/compat.h b/src/compat/compat.h
index a608fb3..54907e9 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -47,6 +47,7 @@
#endif
#include <linux/cache.h>
+#include <linux/init.h>
#ifndef __ro_after_init
#define __ro_after_init __read_mostly
#endif