summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-rfc2553.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-22 12:08:23 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-22 12:08:23 +1000
commitd5e082f0d52f652ba50fe33c97f62442d6619045 (patch)
tree3a352e0cb92f5ce653380d95c5754a342634c543 /openbsd-compat/fake-rfc2553.h
parentbe79af1dfedfd43d4f432da0a98971d667f25d77 (diff)
- (dtucker) [configure.ac openbsd-compat/fake-rfc2553.c
openbsd-compat/fake-rfc2553.h] Bug #659: Test for and handle systems with where gai_strerror is defined as "const char *". Part of patch supplied by bugzilla-openssh at thewrittenword.com
Diffstat (limited to 'openbsd-compat/fake-rfc2553.h')
-rw-r--r--openbsd-compat/fake-rfc2553.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/fake-rfc2553.h b/openbsd-compat/fake-rfc2553.h
index b70b928f8..bf727ceac 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.7 2003/09/22 02:08:23 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.
@@ -137,7 +137,7 @@ int getaddrinfo(const char *, const char *,
137 const struct addrinfo *, struct addrinfo **); 137 const struct addrinfo *, struct addrinfo **);
138#endif /* !HAVE_GETADDRINFO */ 138#endif /* !HAVE_GETADDRINFO */
139 139
140#ifndef HAVE_GAI_STRERROR 140#if !defined(HAVE_GAI_STRERROR) && !defined(HAVE_CONST_GAI_STRERROR_PROTO)
141char *gai_strerror(int); 141char *gai_strerror(int);
142#endif /* !HAVE_GAI_STRERROR */ 142#endif /* !HAVE_GAI_STRERROR */
143 143