- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812: #undef getaddrinfo
before redefining it, silences warnings on Tru64.
This commit is contained in:
parent
aa5383243d
commit
7c991ab1e1
|
@ -1,3 +1,7 @@
|
|||
20040310
|
||||
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812: #undef getaddrinfo
|
||||
before redefining it, silences warnings on Tru64.
|
||||
|
||||
20040308
|
||||
- (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some
|
||||
platforms (eg SCO, HP-UX) with logging in the wrong TZ. ok djm@
|
||||
|
@ -891,4 +895,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.3286 2004/03/08 20:12:18 tim Exp $
|
||||
$Id: ChangeLog,v 1.3287 2004/03/10 10:06:32 dtucker Exp $
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: fake-rfc2553.h,v 1.8 2004/02/10 02:05:41 dtucker Exp $ */
|
||||
/* $Id: fake-rfc2553.h,v 1.9 2004/03/10 10:06:33 dtucker Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 2000-2003 Damien Miller. All rights reserved.
|
||||
|
@ -133,6 +133,9 @@ struct addrinfo {
|
|||
#endif /* !HAVE_STRUCT_ADDRINFO */
|
||||
|
||||
#ifndef HAVE_GETADDRINFO
|
||||
#ifdef getaddrinfo
|
||||
# undef getaddrinfo
|
||||
#endif
|
||||
#define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d))
|
||||
int getaddrinfo(const char *, const char *,
|
||||
const struct addrinfo *, struct addrinfo **);
|
||||
|
|
Loading…
Reference in New Issue