summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/openssh/auth1.c1
-rw-r--r--crypto/openssh/session.c1
-rw-r--r--secure/usr.sbin/sshd/Makefile2
3 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/auth1.c b/crypto/openssh/auth1.c
index cc949c4..38e807f 100644
--- a/crypto/openssh/auth1.c
+++ b/crypto/openssh/auth1.c
@@ -19,6 +19,7 @@ RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $");
#include "compat.h"
#include "auth.h"
#include "session.h"
+#include <login_cap.h>
#ifdef KRB5
extern krb5_context ssh_context;
diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c
index 1cd8e21..f56e629 100644
--- a/crypto/openssh/session.c
+++ b/crypto/openssh/session.c
@@ -30,7 +30,6 @@ RCSID("$OpenBSD: session.c,v 1.15 2000/05/30 17:23:37 markus Exp $");
#include "auth.h"
#ifdef __FreeBSD__
-#define LOGIN_CAP
#define _PATH_CHPASS "/usr/bin/passwd"
#endif /* __FreeBSD__ */
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 17357d5..d3d0bb3 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -13,7 +13,7 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
pty.c log-server.c login.c servconf.c serverloop.c \
auth.c auth1.c auth2.c session.c login_access.c
-CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -I${LOGINSRC}
+CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -DLOGIN_CAP -I${LOGINSRC}
.include <bsd.own.mk>
OpenPOWER on IntegriCloud