summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/dns.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-11-25 17:03:53 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-11-25 17:03:53 +0900
commit731bf3c34ed2469596804e2d45022ed9bc15a29a (patch)
treee0d5adc592c4ccf2feb6ec007864e9cd70444ce0 /src/lib/ecore_con/dns.c
parente962827ef2472e3de54416e939c9a194b5e86962 (diff)
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"
Diffstat (limited to 'src/lib/ecore_con/dns.c')
-rw-r--r--src/lib/ecore_con/dns.c3
1 files changed, 3 insertions, 0 deletions
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 @@
28#define _XOPEN_SOURCE 600 28#define _XOPEN_SOURCE 600
29#endif 29#endif
30 30
31#undef _DEFAULT_SOURCE
32#define _DEFAULT_SOURCE
33
31#undef _BSD_SOURCE 34#undef _BSD_SOURCE
32#define _BSD_SOURCE 35#define _BSD_SOURCE
33 36