Prevent compiler warnings about redefinition of EAI_FAMILY on FreeBSD 6.1.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 18 Dec 2006 11:41:53 +0000 (11:41 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 18 Dec 2006 11:41:53 +0000 (11:41 +0000)
lib/fake-gai-errnos.h

index 551c873..c4213cf 100644 (file)
 /* 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