From 737f7aff365a47039fb48dcc06367e59863a4cee Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 5 Nov 2012 17:07:43 +1100 Subject: - (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that don't have it. Spotted by tim@. --- ChangeLog | 2 ++ auth2-pubkey.c | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8cc7c8e7b..ae5557001 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ openbsd-compat/openbsd-compat.h] Move the fallback code for setting uids and gids from uidswap.c to the compat library, which allows it to work with the new setresuid calls in auth2-pubkey. with tim@, ok djm@ + - (dtucker) [auth2-pubkey.c] wrap paths.h in an ifdef for platforms that + don't have it. Spotted by tim@. 20121104 - (djm) OpenBSD CVS Sync diff --git a/auth2-pubkey.c b/auth2-pubkey.c index 6a6217017..f9cc6c2c6 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c @@ -31,7 +31,9 @@ #include #include -#include +#ifdef HAVE_PATHS_H +# include +#endif #include #include #include -- cgit v1.2.3