summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClay Chang <clayc@hpe.com>2024-01-07 21:28:42 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2024-01-26 16:39:32 +0800
commit4bb439e8562d36af715f2c22d23c5c3ad5563061 (patch)
treee694cb93cb0c1f02cf4d87532769578ced3c2b41 /include
parent5d7e1c411c0d703e51cc812a3dac22f1f0b11253 (diff)
downloadlinux-stable-4bb439e8562d36af715f2c22d23c5c3ad5563061.tar.gz
linux-stable-4bb439e8562d36af715f2c22d23c5c3ad5563061.tar.bz2
linux-stable-4bb439e8562d36af715f2c22d23c5c3ad5563061.zip
KEYS: include header for EINVAL definition
This patch includes linux/errno.h to address the issue of 'EINVAL' being undeclared. Signed-off-by: Clay Chang <clayc@hpe.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include')
-rw-r--r--include/crypto/public_key.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/crypto/public_key.h b/include/crypto/public_key.h
index 462f8a34cdf8..b7f308977c84 100644
--- a/include/crypto/public_key.h
+++ b/include/crypto/public_key.h
@@ -10,6 +10,7 @@
#ifndef _LINUX_PUBLIC_KEY_H
#define _LINUX_PUBLIC_KEY_H
+#include <linux/errno.h>
#include <linux/keyctl.h>
#include <linux/oid_registry.h>