summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-gai-errnos.h
blob: 8fca7db0ce1f84a61a491add21b14f4e8159c5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * fake library for ssh
 *
 * This file is included in getaddrinfo.c and getnameinfo.c.
 * See getaddrinfo.c and getnameinfo.c.
 */

#ifndef _FAKE_GAI_ERRNOS_H
#define _FAKE_GAI_ERRNOS_H

/* $Id: fake-gai-errnos.h,v 1.3 2003/05/18 14:13:39 djm Exp $ */

/* for old netdb.h */
#ifndef EAI_NODATA
# define EAI_NODATA	1
# define EAI_MEMORY	2
#endif

#endif /* !_FAKE_GAI_ERRNOS_H */