Hi there,

The attached patch includes upstream commit
bae230201ace92141a1f43f655013f4ee22cd45a to dns.c, which should fix the
build for both FreeBSD (where _XOPEN_SOURCE should not need to be
tweaked) and NetBSD.

Index: src/lib/ecore_con/dns.c
===================================================================
--- src/lib/ecore_con/dns.c	(revision 72732)
+++ src/lib/ecore_con/dns.c	(working copy)
@@ -27,6 +27,7 @@
 # include "config.h"
 #endif
 
+#if !defined(__FreeBSD__)
 #ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE	600
 #endif
@@ -37,6 +38,10 @@
 #undef _DARWIN_C_SOURCE
 #define _DARWIN_C_SOURCE
 
+#undef _NETBSD_SOURCE
+#define _NETBSD_SOURCE
+#endif
+
 #include <stddef.h>		/* offsetof() */
 #include <stdint.h>		/* uint32_t */
 #include <stdlib.h>		/* malloc(3) realloc(3) free(3) rand(3) random(3) arc4random(3) */
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to