raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=731bf3c34ed2469596804e2d45022ed9bc15a29a
commit 731bf3c34ed2469596804e2d45022ed9bc15a29a Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Tue Nov 25 17:03:53 2014 +0900 ecore-con - silence bsd source wanrings for dns.c silence this annoying warning we've had for a while: In file included from /usr/include/stdint.h:25:0, from /usr/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/include/stdint.h:9, from lib/ecore_con/dns.c:45: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" --- src/lib/ecore_con/dns.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c index 96e012d..8887d6a 100644 --- a/src/lib/ecore_con/dns.c +++ b/src/lib/ecore_con/dns.c @@ -28,6 +28,9 @@ #define _XOPEN_SOURCE 600 #endif +#undef _DEFAULT_SOURCE +#define _DEFAULT_SOURCE + #undef _BSD_SOURCE #define _BSD_SOURCE --
