summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)