Fixes:
libcrypt/crypt.c:29:15: error: 'EINVAL' undeclared (first use in this function)
__set_errno(EINVAL);
^~~~~~
Signed-off-by: Yann Sionneau <ysionneau(a)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