From b32c22cf54e47677726d15a5fca7eecc2fa42754 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 18 Dec 2006 11:41:53 +0000 Subject: [PATCH] Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1. --- lib/fake-gai-errnos.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.39.5