diff options
Diffstat (limited to 'libfetch/nbcompat/netdb.h')
-rw-r--r-- | libfetch/nbcompat/netdb.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libfetch/nbcompat/netdb.h b/libfetch/nbcompat/netdb.h new file mode 100644 index 0000000..a9286f4 --- /dev/null +++ b/libfetch/nbcompat/netdb.h @@ -0,0 +1,13 @@ +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> + +#if !defined EAI_NONAME +#define EAI_NONAME -2 +#endif +#if !defined EAI_AGAIN +#define EAI_AGAIN -3 +#endif +#if !defined EAI_FAIL +#define EAI_FAIL -4 +#endif |