From 88dd2b1a22cd06fc401a8ddadd41114cebe159d5 Mon Sep 17 00:00:00 2001 From: Timo Weingärtner Date: Fri, 10 May 2013 21:27:56 +0200 Subject: include proper headers for crypt() this also prepares for crypt_r() --- bigcrypt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bigcrypt.c') diff --git a/bigcrypt.c b/bigcrypt.c index 28d042a..c1486fa 100644 --- a/bigcrypt.c +++ b/bigcrypt.c @@ -24,10 +24,11 @@ * Andy Phillips */ +#define _XOPEN_SOURCE +#include #include -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 -- cgit v1.2.3