diff options
author | Colin Watson <cjwatson@debian.org> | 2004-03-01 02:25:32 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2004-03-01 02:25:32 +0000 |
commit | ea8116a11e3de70036dbc665ccb0d486cf89cac9 (patch) | |
tree | d73ccdff78d8608e156465af42e6a1b3527fb2d6 /openbsd-compat/fake-rfc2553.h | |
parent | e39b311381a5609cc05acf298c42fba196dc524b (diff) | |
parent | f5bda272678ec6dccaa5f29379cf60cb855018e8 (diff) |
Merge 3.8p1 to the trunk. This builds and runs, but I haven't tested it
extensively yet.
ProtocolKeepAlives is now just a compatibility alias for
ServerAliveInterval.
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r-- | openbsd-compat/fake-rfc2553.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h index b70b928f8..eb88605fa 100644 --- a/openbsd-compat/fake-rfc2553.h +++ b/openbsd-compat/fake-rfc2553.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: fake-rfc2553.h,v 1.6 2003/08/29 16:59:52 mouring Exp $ */ | 1 | /* $Id: fake-rfc2553.h,v 1.8 2004/02/10 02:05:41 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (C) 2000-2003 Damien Miller. All rights reserved. | 4 | * Copyright (C) 2000-2003 Damien Miller. All rights reserved. |
@@ -133,19 +133,23 @@ struct addrinfo { | |||
133 | #endif /* !HAVE_STRUCT_ADDRINFO */ | 133 | #endif /* !HAVE_STRUCT_ADDRINFO */ |
134 | 134 | ||
135 | #ifndef HAVE_GETADDRINFO | 135 | #ifndef HAVE_GETADDRINFO |
136 | #define getaddrinfo(a,b,c,d) (ssh_getaddrinfo(a,b,c,d)) | ||
136 | int getaddrinfo(const char *, const char *, | 137 | int getaddrinfo(const char *, const char *, |
137 | const struct addrinfo *, struct addrinfo **); | 138 | const struct addrinfo *, struct addrinfo **); |
138 | #endif /* !HAVE_GETADDRINFO */ | 139 | #endif /* !HAVE_GETADDRINFO */ |
139 | 140 | ||
140 | #ifndef HAVE_GAI_STRERROR | 141 | #if !defined(HAVE_GAI_STRERROR) && !defined(HAVE_CONST_GAI_STRERROR_PROTO) |
142 | #define gai_strerror(a) (ssh_gai_strerror(a)) | ||
141 | char *gai_strerror(int); | 143 | char *gai_strerror(int); |
142 | #endif /* !HAVE_GAI_STRERROR */ | 144 | #endif /* !HAVE_GAI_STRERROR */ |
143 | 145 | ||
144 | #ifndef HAVE_FREEADDRINFO | 146 | #ifndef HAVE_FREEADDRINFO |
147 | #define freeaddrinfo(a) (ssh_freeaddrinfo(a)) | ||
145 | void freeaddrinfo(struct addrinfo *); | 148 | void freeaddrinfo(struct addrinfo *); |
146 | #endif /* !HAVE_FREEADDRINFO */ | 149 | #endif /* !HAVE_FREEADDRINFO */ |
147 | 150 | ||
148 | #ifndef HAVE_GETNAMEINFO | 151 | #ifndef HAVE_GETNAMEINFO |
152 | #define getnameinfo(a,b,c,d,e,f,g) (ssh_getnameinfo(a,b,c,d,e,f,g)) | ||
149 | int getnameinfo(const struct sockaddr *, size_t, char *, size_t, | 153 | int getnameinfo(const struct sockaddr *, size_t, char *, size_t, |
150 | char *, size_t, int); | 154 | char *, size_t, int); |
151 | #endif /* !HAVE_GETNAMEINFO */ | 155 | #endif /* !HAVE_GETNAMEINFO */ |