]> git.meshlink.io Git - meshlink/commitdiff
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 551c87308e93816cab39f4aad983591a43080f50..c4213cfd496519a8a7d59e975f355d7b82559165 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