- (djm) [openbsd-compat/bsd-getpeereid.c] Add some headers to quiet warnings

on Solaris 10
This commit is contained in:
Damien Miller 2006-08-07 11:26:36 +10:00
Родитель f78fb54412
Коммит 0e5143e88e
2 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -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 $

Просмотреть файл

@ -18,6 +18,11 @@
#if !defined(HAVE_GETPEEREID)
#include <sys/types.h>
#include <sys/socket.h>
#include <unistd.h>
#if defined(SO_PEERCRED)
int
getpeereid(int s, uid_t *euid, gid_t *gid)