summaryrefslogtreecommitdiff
path: root/bigcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'bigcrypt.c')
-rw-r--r--bigcrypt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bigcrypt.c b/bigcrypt.c
index 28d042a..c1486fa 100644
--- a/bigcrypt.c
+++ b/bigcrypt.c
@@ -24,10 +24,11 @@
* Andy Phillips <atp@mssl.ucl.ac.uk>
*/
+#define _XOPEN_SOURCE
+#include <unistd.h>
#include <string.h>
-char *crypt(const char *key, const char *salt);
-char *bigcrypt(const char *key, const char *salt);
+#include "bigcrypt.h"
/*
* Max cleartext password length in segments of 8 characters this