diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-03-10 11:06:32 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-03-10 11:06:32 +0100 |
commit | 7c991ab1e1ea69125de51fc650369ff14c1d6fd7 (patch) | |
tree | e7eae2d14f00be6c772802302eecce317078e611 /openbsd-compat/fake-rfc2553.h | |
parent | - (tim) [regress/README.regress] Document ssh-rand-helper issue. ok bal (diff) | |
download | openssh-7c991ab1e1ea69125de51fc650369ff14c1d6fd7.tar.xz openssh-7c991ab1e1ea69125de51fc650369ff14c1d6fd7.zip |
- (dtucker) [openbsd-compat/fake-rfc2553.h] Bug #812: #undef getaddrinfo
before redefining it, silences warnings on Tru64.
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r-- | openbsd-compat/fake-rfc2553.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h index eb88605fa..baea07038 100644 --- a/openbsd-compat/fake-rfc2553.h +++ b/openbsd-compat/fake-rfc2553.h @@ -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 **); |