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.h12
1 files changed, 12 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..27f6089e9
--- /dev/null
+++ b/openbsd-compat/fake-gai-errnos.h
@@ -0,0 +1,12 @@
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/* for old netdb.h */
9#ifndef EAI_NODATA
10#define EAI_NODATA 1
11#define EAI_MEMORY 2
12#endif