From 1d0b7aaa8d583266b67ecb1c274f2d439863360f Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 13 Jun 2008 23:01:24 +0000 Subject: [PATCH] - dtucker@cvs.openbsd.org 2008/06/13 14:18:51 [auth2-pubkey.c auth-rhosts.c] Include unistd.h for close(), prevents warnings in -portable --- ChangeLog | 3 +++ auth-rhosts.c | 3 ++- auth2-pubkey.c | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b61b2ade..6f9ba0bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ applying additional restrictions to non-pubkey authentications in the case where pubkey fails but another method subsequently succeeds. bz #1472, found by Colin Watson, ok markus@ djm@ + - dtucker@cvs.openbsd.org 2008/06/13 14:18:51 + [auth2-pubkey.c auth-rhosts.c] + Include unistd.h for close(), prevents warnings in -portable 20080612 - (dtucker) OpenBSD CVS Sync diff --git a/auth-rhosts.c b/auth-rhosts.c index bbddfb6d..5c129670 100644 --- a/auth-rhosts.c +++ b/auth-rhosts.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth-rhosts.c,v 1.42 2008/06/13 04:40:22 djm Exp $ */ +/* $OpenBSD: auth-rhosts.c,v 1.43 2008/06/13 14:18:51 dtucker Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -27,6 +27,7 @@ #include #include #include +#include #include "packet.h" #include "buffer.h" diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 7f7ddd8c..30651500 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auth2-pubkey.c,v 1.16 2008/06/13 04:40:22 djm Exp $ */ +/* $OpenBSD: auth2-pubkey.c,v 1.17 2008/06/13 14:18:51 dtucker Exp $ */ /* * Copyright (c) 2000 Markus Friedl. All rights reserved. * @@ -32,6 +32,7 @@ #include #include #include +#include #include "xmalloc.h" #include "ssh.h" -- 2.45.2