summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Sionneau <ysionneau@kalray.eu>2020-11-23 14:01:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2020-11-23 17:32:29 +0100
commit6993d9378224489b49325bd1fb962f0e8bb935f1 (patch)
tree4ae4d4aa5f01231af6a0d29948b2e7d59dc1a69a
parent2f6076cdaada2132b670b5ef25ad80c76a916c5a (diff)
libcrypt: add missing errno.h header
Fixes: libcrypt/crypt.c:29:15: error: 'EINVAL' undeclared (first use in this function) __set_errno(EINVAL); ^~~~~~ Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
-rw-r--r--libcrypt/crypt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrypt/crypt.c b/libcrypt/crypt.c
index 9819029f2..cfcd11f91 100644
--- a/libcrypt/crypt.c
+++ b/libcrypt/crypt.c
@@ -6,6 +6,7 @@
#include <unistd.h>
#include <crypt.h>
+#include <errno.h>
#include "libcrypt.h"
char *crypt(const char *key, const char *salt)