From 9f1643faccda23f0070f0415569395a776055a04 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Sat, 6 Feb 2016 00:05:12 +0100 Subject: Define also _DEFAULT_SOURCE where _BSD_SOURCE is already defined. It's required to avoid getting warnings w/ glibc >= 2.20. --- src/metastore.c | 1 + src/utils.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/metastore.c b/src/metastore.c index 56fc655..579f892 100644 --- a/src/metastore.c +++ b/src/metastore.c @@ -18,6 +18,7 @@ */ #define _BSD_SOURCE +#define _DEFAULT_SOURCE #include #include #include diff --git a/src/utils.c b/src/utils.c index b0d291a..ae55e49 100644 --- a/src/utils.c +++ b/src/utils.c @@ -18,6 +18,7 @@ */ #define _BSD_SOURCE +#define _DEFAULT_SOURCE #include #include #include -- cgit v1.2.1