aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/keys/encrypted_defined.c1
-rw-r--r--security/keys/trusted_defined.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/security/keys/encrypted_defined.c b/security/keys/encrypted_defined.c
index 0e558dcad92..3f4085703e6 100644
--- a/security/keys/encrypted_defined.c
+++ b/security/keys/encrypted_defined.c
@@ -17,6 +17,7 @@
#include <linux/slab.h>
#include <linux/parser.h>
#include <linux/string.h>
+#include <linux/err.h>
#include <keys/user-type.h>
#include <keys/trusted-type.h>
#include <keys/encrypted-type.h>
diff --git a/security/keys/trusted_defined.c b/security/keys/trusted_defined.c
index 1bec72e7596..aaaa069967a 100644
--- a/security/keys/trusted_defined.c
+++ b/security/keys/trusted_defined.c
@@ -17,6 +17,7 @@
#include <linux/slab.h>
#include <linux/parser.h>
#include <linux/string.h>
+#include <linux/err.h>
#include <keys/user-type.h>
#include <keys/trusted-type.h>
#include <linux/key-type.h>