From: Guus Sliepen Date: Mon, 18 Dec 2006 11:41:53 +0000 (+0000) Subject: Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1. X-Git-Tag: release-1.0.6~1 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=b32c22cf54e47677726d15a5fca7eecc2fa42754;p=tinc Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1. --- diff --git a/lib/fake-gai-errnos.h b/lib/fake-gai-errnos.h index 551c8730..c4213cfd 100644 --- a/lib/fake-gai-errnos.h +++ b/lib/fake-gai-errnos.h @@ -10,6 +10,12 @@ /* 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