$FreeBSD: tags/RELEASE_10_1_0/www/crawl/files/patch-compat__gai-errnos.h 363362 2014-07-29 17:12:47Z adamw $

--- compat/gai-errnos.h.orig	Fri Mar 12 07:29:36 2004
+++ compat/gai-errnos.h	Fri Mar 12 07:29:52 2004
@@ -10,5 +10,7 @@
 /* for old netdb.h */
 #ifndef EAI_NODATA
 #define EAI_NODATA	1
+#endif
+#ifndef EAI_MEMORY
 #define EAI_MEMORY	2
 #endif
