summaryrefslogtreecommitdiff
path: root/auth-passwd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-04-25 22:50:18 +1000
committerDamien Miller <djm@mindrot.org>2001-04-25 22:50:18 +1000
commitda2ed56f61f3b28259c0aa32d89e5e6f08228a4b (patch)
tree3e03729e4d245001aaf8d220baac7558fde73631 /auth-passwd.c
parentf815442116071c69525915018edf5a32081bddc2 (diff)
- (djm) Include crypt.h if available in auth-passwd.c
Diffstat (limited to 'auth-passwd.c')
-rw-r--r--auth-passwd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth-passwd.c b/auth-passwd.c
index 27977155..d53a9ea2 100644
--- a/auth-passwd.c
+++ b/auth-passwd.c
@@ -46,6 +46,9 @@ RCSID("$OpenBSD: auth-passwd.c,v 1.22 2001/03/20 18:57:04 markus Exp $");
#include "servconf.h"
#include "auth.h"
+#ifdef HAVE_CRYPT_H
+# include <crypt.h>
+#endif
#ifdef WITH_AIXAUTHENTICATE
# include <login.h>
#endif