summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2007-08-23 02:55:52 +0000
committerDamien Miller <djm@cvs.openbsd.org>2007-08-23 02:55:52 +0000
commit4a370b61f5bc01b8038c4637966b1c70c896c150 (patch)
tree5eec924744be0b04e2d64b276c5ae1707afb32f5 /usr.bin
parent2487682b9db118cbdc494518e686d9e1ae372da2 (diff)
missed include bits from last commit
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/auth-passwd.c4
-rw-r--r--usr.bin/ssh/auth.c3
-rw-r--r--usr.bin/ssh/session.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/ssh/auth-passwd.c b/usr.bin/ssh/auth-passwd.c
index 5c06b229fb0..b853c324785 100644
--- a/usr.bin/ssh/auth-passwd.c
+++ b/usr.bin/ssh/auth-passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth-passwd.c,v 1.41 2007/08/23 02:49:43 djm Exp $ */
+/* $OpenBSD: auth-passwd.c,v 1.42 2007/08/23 02:55:51 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -38,6 +38,7 @@
#include <sys/types.h>
+#include <login_cap.h>
#include <pwd.h>
#include <stdio.h>
#include <string.h>
@@ -58,7 +59,6 @@ int sys_auth_passwd(Authctxt *, const char *);
extern login_cap_t *lc;
-
#define DAY (24L * 60 * 60) /* 1 day in seconds */
#define TWO_WEEKS (2L * 7 * DAY) /* 2 weeks in seconds */
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index 173d490d4e9..a2c28324e98 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.76 2007/08/23 02:49:43 djm Exp $ */
+/* $OpenBSD: auth.c,v 1.77 2007/08/23 02:55:51 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -29,6 +29,7 @@
#include <errno.h>
#include <libgen.h>
+#include <login_cap.h>
#include <paths.h>
#include <pwd.h>
#include <stdarg.h>
diff --git a/usr.bin/ssh/session.c b/usr.bin/ssh/session.c
index 8b98a29a0df..435dfeecfe9 100644
--- a/usr.bin/ssh/session.c
+++ b/usr.bin/ssh/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.222 2007/08/23 02:49:43 djm Exp $ */
+/* $OpenBSD: session.c,v 1.223 2007/08/23 02:55:51 djm Exp $ */
/*
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
@@ -42,6 +42,7 @@
#include <errno.h>
#include <grp.h>
+#include <login_cap.h>
#include <paths.h>
#include <pwd.h>
#include <signal.h>