summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2018-08-09 14:20:45 +0100
committerPhilip Withnall <withnall@endlessm.com>2018-08-10 11:39:57 +0100
commit637c54a0195baa1756c338131327e4d593578375 (patch)
tree73224966e899fe6c43a18f6761aecb633628bc25 /tests
parenta48a6bc401cd9bd3a27dfe91ec598ac1479ab08d (diff)
downloaddconf-637c54a0195baa1756c338131327e4d593578375.tar.gz
tests: Fix a deprecation warning about source definitions
/usr/include/features.h:183: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" Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client.c b/tests/client.c
index 175fd9e..6390438 100644
--- a/tests/client.c
+++ b/tests/client.c
@@ -1,4 +1,4 @@
-#define _BSD_SOURCE
+#define _DEFAULT_SOURCE
#include "../client/dconf-client.h"
#include "../engine/dconf-engine.h"
#include "dconf-mock.h"