xref: /titanic_50/usr/src/cmd/ssh/include/fake-gai-errnos.h (revision ba7866cd2cbdf574f47d4e38a1301b90744dd677)
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