summaryrefslogtreecommitdiffstats
path: root/md5crypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'md5crypt.c')
-rw-r--r--md5crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/md5crypt.c b/md5crypt.c
index 15af422a..16bcf33a 100644
--- a/md5crypt.c
+++ b/md5crypt.c
@@ -17,7 +17,7 @@
#include "config.h"
-#ifdef HAVE_MD5_PASSWORDS
+#if defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT)
#include <unistd.h>
#include <string.h>
@@ -163,4 +163,4 @@ md5_crypt(const char *pw, const char *salt)
return passwd;
}
-#endif /* HAVE_MD5_PASSWORDS */
+#endif /* defined(HAVE_MD5_PASSWORDS) && !defined(HAVE_MD5_CRYPT) */