xref: /titanic_50/usr/src/cmd/ssh/include/fake-gai-errnos.h (revision 45916cd2fec6e79bca5dee0421bd39e3c2910d1e)
1 /*
2  * fake library for ssh
3  *
4  * This file is included in getaddrinfo.c and getnameinfo.c.
5  * See getaddrinfo.c and getnameinfo.c.
6  */
7 
8 #ifndef	_FAKE_GAI_ERRNOS_H
9 #define	_FAKE_GAI_ERRNOS_H
10 
11 #pragma ident	"%Z%%M%	%I%	%E% SMI"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 
18 /* $Id: fake-gai-errnos.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
19 
20 /* for old netdb.h */
21 #ifndef EAI_NODATA
22 #define EAI_NODATA	1
23 #define EAI_MEMORY	2
24 #endif
25 
26 #ifdef __cplusplus
27 }
28 #endif
29 
30 #endif /* _FAKE_GAI_ERRNOS_H */
31