summaryrefslogtreecommitdiff
path: root/fake-gai-errnos.h
diff options
context:
space:
mode:
Diffstat (limited to 'fake-gai-errnos.h')
-rw-r--r--fake-gai-errnos.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/fake-gai-errnos.h b/fake-gai-errnos.h
new file mode 100644
index 00000000..27f6089e
--- /dev/null
+++ b/fake-gai-errnos.h
@@ -0,0 +1,12 @@
+/*
+ * fake library for ssh
+ *
+ * This file is included in getaddrinfo.c and getnameinfo.c.
+ * See getaddrinfo.c and getnameinfo.c.
+ */
+
+/* for old netdb.h */
+#ifndef EAI_NODATA
+#define EAI_NODATA 1
+#define EAI_MEMORY 2
+#endif