summaryrefslogtreecommitdiffhomepage
path: root/src/compat
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
commit8f3055f89c9b8ed783684df226a853b20dd92e7e (patch)
treef8e7c09a7c8c0b92d3c8a9141331445b3cffe292 /src/compat
parent6578b63a8ab0cc556f6afdd032609e7d5d098808 (diff)
compat: support newer PaX
Reported-by: PaX Team <pageexec@freemail.hu> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/compat')
-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