From 0e5143e88e769b91cdd5b19e36a1d2403acc8e22 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 7 Aug 2006 11:26:36 +1000 Subject: [PATCH] - (djm) [openbsd-compat/bsd-getpeereid.c] Add some headers to quiet warnings on Solaris 10 --- ChangeLog | 8 ++++++-- openbsd-compat/bsd-getpeereid.c | 5 +++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1efc7ba36..5d51f2e61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2006086 +20060806 + - (djm) [openbsd-compat/bsd-getpeereid.c] Add some headers to quiet warnings + on Solaris 10 + +20060806 - (dtucker) [defines.h] With the includes.h changes we no longer get the name clash on "YES" so we can remove the workaround for it. - (dtucker) [openbsd-compat/{bsd-asprintf.c,bsd-openpty.c,bsd-snprintf.c, @@ -5200,4 +5204,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4476 2006/08/06 11:25:24 dtucker Exp $ +$Id: ChangeLog,v 1.4477 2006/08/07 01:26:36 djm Exp $ diff --git a/openbsd-compat/bsd-getpeereid.c b/openbsd-compat/bsd-getpeereid.c index d94489d1d..bdae8b637 100644 --- a/openbsd-compat/bsd-getpeereid.c +++ b/openbsd-compat/bsd-getpeereid.c @@ -18,6 +18,11 @@ #if !defined(HAVE_GETPEEREID) +#include +#include + +#include + #if defined(SO_PEERCRED) int getpeereid(int s, uid_t *euid, gid_t *gid)