summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/fake-gai-errnos.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/fake-gai-errnos.h')
-rw-r--r--crypto/openssh/openbsd-compat/fake-gai-errnos.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/crypto/openssh/openbsd-compat/fake-gai-errnos.h b/crypto/openssh/openbsd-compat/fake-gai-errnos.h
new file mode 100644
index 0000000..5edc31b
--- /dev/null
+++ b/crypto/openssh/openbsd-compat/fake-gai-errnos.h
@@ -0,0 +1,14 @@
+/*
+ * fake library for ssh
+ *
+ * This file is included in getaddrinfo.c and getnameinfo.c.
+ * See getaddrinfo.c and getnameinfo.c.
+ */
+
+/* $Id: fake-gai-errnos.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */
+
+/* for old netdb.h */
+#ifndef EAI_NODATA
+#define EAI_NODATA 1
+#define EAI_MEMORY 2
+#endif
OpenPOWER on IntegriCloud