- (dtucker) [openbsd-compat/openbsd-compat.h] Need to include <sys/socket.h>

for struct sockaddr on platforms that use the fake-rfc stuff.
This commit is contained in:
Darren Tucker 2006-07-11 00:20:51 +10:00
parent da34553561
commit 4e880e632b
2 changed files with 6 additions and 2 deletions

View File

@ -104,6 +104,8 @@
format is unchanged, otherwise the host name or address is enclosed format is unchanged, otherwise the host name or address is enclosed
within square brackets in the same format as sshd's ListenAddress. within square brackets in the same format as sshd's ListenAddress.
Tested by many, ok markus@. Tested by many, ok markus@.
- (dtucker) [openbsd-compat/openbsd-compat.h] Need to include <sys/socket.h>
for struct sockaddr on platforms that use the fake-rfc stuff.
20060706 20060706
- (dtucker) [configure.ac] Try AIX blibpath test in different order when - (dtucker) [configure.ac] Try AIX blibpath test in different order when
@ -4837,4 +4839,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.4384 2006/07/10 13:04:19 dtucker Exp $ $Id: ChangeLog,v 1.4385 2006/07/10 14:20:51 dtucker Exp $

View File

@ -1,4 +1,4 @@
/* $Id: openbsd-compat.h,v 1.38 2006/07/10 11:33:05 djm Exp $ */ /* $Id: openbsd-compat.h,v 1.39 2006/07/10 14:20:52 dtucker Exp $ */
/* /*
* Copyright (c) 1999-2003 Damien Miller. All rights reserved. * Copyright (c) 1999-2003 Damien Miller. All rights reserved.
@ -34,6 +34,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <pwd.h> #include <pwd.h>
#include <sys/socket.h>
/* OpenBSD function replacements */ /* OpenBSD function replacements */
#include "base64.h" #include "base64.h"
#include "sigact.h" #include "sigact.h"