[PATCH] libcrypt: add missing errno.h header

23 Nov
2020
23 Nov
'20
1:01 p.m.
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> --- libcrypt/crypt.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.17.1
1756
Age (days ago)
1756
Last active (days ago)
0 comments
1 participants
participants (1)
-
Yann Sionneau