diff options
Diffstat (limited to 'src/http_auth.c')
-rw-r--r-- | src/http_auth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/http_auth.c b/src/http_auth.c index dacf70a4..710d6f1b 100644 --- a/src/http_auth.c +++ b/src/http_auth.c @@ -11,7 +11,8 @@ # define _XOPEN_SOURCE #endif -#ifdef HAVE_LIBCRYPT +#if defined(HAVE_LIBCRYPT) && !defined(HAVE_CRYPT) +/* always assume crypt() is present if we have -lcrypt */ # define HAVE_CRYPT #endif |