diff options
author | David Howells <dhowells@redhat.com> | 2012-07-23 18:37:31 +0400 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-07-30 09:08:46 +0400 |
commit | 5935e6dcaaa8f666dd7f1169fa87d36752ebeb94 (patch) | |
tree | 7f02532c82a683ced7d02a289cd0a16e92ae19ee /include | |
parent | 3b9fc37280c521b086943f9aedda767f5bf3b2d3 (diff) | |
download | linux-5935e6dcaaa8f666dd7f1169fa87d36752ebeb94.tar.xz |
KEYS: linux/key-type.h needs linux/errno.h
linux/key-type.h needs to #include linux/errno.h as it refers to ENOKEY.
Without this, with sparc's allmodconfig in one of my test trees, the following
error occurs:
include/linux/key-type.h: In function 'key_negate_and_link':
include/linux/key-type.h:122:43: error: 'ENOKEY' undeclared (first use in this function)
include/linux/key-type.h:122:43: note: each undeclared identifier is reported only once for each fun
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/key-type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/key-type.h b/include/linux/key-type.h index 39e3c082c49d..f0c651cda7b0 100644 --- a/include/linux/key-type.h +++ b/include/linux/key-type.h @@ -13,6 +13,7 @@ #define _LINUX_KEY_TYPE_H #include <linux/key.h> +#include <linux/errno.h> #ifdef CONFIG_KEYS |