Include complete fake-getname/addrinfo from OpenSSH.
[tinc] / lib / fake-gai-errnos.h
diff --git a/lib/fake-gai-errnos.h b/lib/fake-gai-errnos.h
new file mode 100644 (file)
index 0000000..8edab9e
--- /dev/null
@@ -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.1.2.1 2002/07/12 11:45:21 guus Exp $ */
+
+/* for old netdb.h */
+#ifndef EAI_NODATA
+#define EAI_NODATA     1
+#define EAI_MEMORY     2
+#endif