- (djm) [openbsd-compat/bsd-getpeereid.c] Add some headers to quiet warnings
on Solaris 10
This commit is contained in:
parent
f78fb54412
commit
0e5143e88e
|
@ -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
|
- (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.
|
name clash on "YES" so we can remove the workaround for it.
|
||||||
- (dtucker) [openbsd-compat/{bsd-asprintf.c,bsd-openpty.c,bsd-snprintf.c,
|
- (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) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (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)
|
#if !defined(HAVE_GETPEEREID)
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#if defined(SO_PEERCRED)
|
#if defined(SO_PEERCRED)
|
||||||
int
|
int
|
||||||
getpeereid(int s, uid_t *euid, gid_t *gid)
|
getpeereid(int s, uid_t *euid, gid_t *gid)
|
||||||
|
|
Loading…
Reference in New Issue