diff options
author | Damien Miller <djm@mindrot.org> | 2002-04-23 20:22:59 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-04-23 20:22:59 +1000 |
commit | 594a71b9b92af786d34d8d961162374e5e4af72f (patch) | |
tree | 650179a18f0e5f7db787ba32fc83f41c929ce3fe /defines.h | |
parent | f02dccc0dc5711d5bdfb45f92a2f1bba41e365f0 (diff) | |
download | openssh-git-594a71b9b92af786d34d8d961162374e5e4af72f.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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |