summaryrefslogtreecommitdiff
path: root/openbsd-compat/fake-gai-errnos.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/fake-gai-errnos.h')
-rw-r--r--openbsd-compat/fake-gai-errnos.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/openbsd-compat/fake-gai-errnos.h b/openbsd-compat/fake-gai-errnos.h
new file mode 100644
index 000000000..5edc31b59
--- /dev/null
+++ b/openbsd-compat/fake-gai-errnos.h
@@ -0,0 +1,14 @@
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/* $Id: fake-gai-errnos.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
9
10/* for old netdb.h */
11#ifndef EAI_NODATA
12#define EAI_NODATA 1
13#define EAI_MEMORY 2
14#endif