summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authordjm <djm>2002-04-23 10:22:59 +0000
committerdjm <djm>2002-04-23 10:22:59 +0000
commit7a77c37f5d51c1c3315a2ad44ab963d0f97c222a (patch)
treed5c27c3569e56539024a2703919ec740c39066f4 /defines.h
parent1ebaa49ae4188dcaf0467e735d2e4f3724375dbc (diff)
downloadopenssh-7a77c37f5d51c1c3315a2ad44ab963d0f97c222a.tar.gz
- (djm) Bug #222: Fix tests for getaddrinfo on OSF/1. Spotted by
Robert Urban <urban@spielwiese.de>
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/defines.h b/defines.h
index 65a03bd1..c6b08c40 100644
--- a/defines.h
+++ b/defines.h
@@ -1,7 +1,7 @@
#ifndef _DEFINES_H
#define _DEFINES_H
-/* $Id: defines.h,v 1.86 2002/04/12 03:35:40 tim Exp $ */
+/* $Id: defines.h,v 1.87 2002/04/23 10:23:00 djm Exp $ */
/* Constants */
@@ -415,6 +415,10 @@ struct winsize {
/* Function replacement / compatibility hacks */
+#if !defined(HAVE_GETADDRINFO) && (defined(HAVE_OGETADDRINFO) || defined(HAVE_NGETADDRINFO))
+# define HAVE_GETADDRINFO
+#endif
+
#ifndef HAVE_GETOPT_OPTRESET
#define getopt(ac, av, o) BSDgetopt(ac, av, o)
#endif