diff options
Diffstat (limited to 'openbsd-compat/fake-rfc2553.c')
-rw-r--r-- | openbsd-compat/fake-rfc2553.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/openbsd-compat/fake-rfc2553.c b/openbsd-compat/fake-rfc2553.c index b0cc69bd7..f44924836 100644 --- a/openbsd-compat/fake-rfc2553.c +++ b/openbsd-compat/fake-rfc2553.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | 39 | ||
40 | RCSID("$Id: fake-rfc2553.c,v 1.4.2.1 2003/09/22 02:09:18 dtucker Exp $"); | 40 | RCSID("$Id: fake-rfc2553.c,v 1.4 2003/06/13 22:43:23 djm Exp $"); |
41 | 41 | ||
42 | #ifndef HAVE_GETNAMEINFO | 42 | #ifndef HAVE_GETNAMEINFO |
43 | int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, | 43 | int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, |
@@ -77,11 +77,7 @@ int getnameinfo(const struct sockaddr *sa, size_t salen, char *host, | |||
77 | #endif /* !HAVE_GETNAMEINFO */ | 77 | #endif /* !HAVE_GETNAMEINFO */ |
78 | 78 | ||
79 | #ifndef HAVE_GAI_STRERROR | 79 | #ifndef HAVE_GAI_STRERROR |
80 | #ifdef HAVE_CONST_GAI_STRERROR_PROTO | ||
81 | const char * | ||
82 | #else | ||
83 | char * | 80 | char * |
84 | #endif | ||
85 | gai_strerror(int err) | 81 | gai_strerror(int err) |
86 | { | 82 | { |
87 | switch (err) { | 83 | switch (err) { |