summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-rfc2553.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-22 12:09:17 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-22 12:09:17 +1000
commit7724e94d041d267b5b9915b37d44c0986b12fe6d (patch)
tree34a347388684277c2a11dd10b050355c150ef407 /openbsd-compat/fake-rfc2553.h
parent2a2e64ea4004c879497b29466f8275a90d9cc009 (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..2d5439296 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.6.2.1 2003/09/22 02:09:18 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