X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ffake-gai-errnos.h;fp=src%2Ffake-gai-errnos.h;h=4ffabb692fef8cc61d050912ee4ec627f0a2c562;hb=35b1c25093a478d20e01f0ff391c9cdc9c41c2b8;hp=0000000000000000000000000000000000000000;hpb=41497246eeccbcc417f93c2ae087e927751c6914;p=tinc diff --git a/src/fake-gai-errnos.h b/src/fake-gai-errnos.h new file mode 100644 index 00000000..4ffabb69 --- /dev/null +++ b/src/fake-gai-errnos.h @@ -0,0 +1,19 @@ +/* + * 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 +#endif + +#ifndef EAI_MEMORY +#define EAI_MEMORY 2 +#endif + +#ifndef EAI_FAMILY +#define EAI_FAMILY 3 +#endif