X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Ffake-gai-errnos.h;h=5ec371ca24c123410503d453faaa9360cdc249b8;hp=33913eb66395f2d1dfe2822e73dc0aa6d25f9962;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=d917c8cb6b69475d568ccbe82389b9f2b3eb5e80 diff --git a/src/fake-gai-errnos.h b/src/fake-gai-errnos.h index 33913eb6..5ec371ca 100644 --- a/src/fake-gai-errnos.h +++ b/src/fake-gai-errnos.h @@ -1,11 +1,6 @@ -/* - * fake library for ssh - * - * This file is included in getaddrinfo.c and getnameinfo.c. - * See getaddrinfo.c and getnameinfo.c. - */ +#ifndef MESHLINK_FAKE_GAI_ERRNOS_H +#define MESHLINK_FAKE_GAI_ERRNOS_H -/* for old netdb.h */ #ifndef EAI_NODATA #define EAI_NODATA 1 #endif @@ -17,3 +12,9 @@ #ifndef EAI_FAMILY #define EAI_FAMILY 3 #endif + +#ifndef EAI_SYSTEM +#define EAI_SYSTEM 4 +#endif + +#endif