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