summaryrefslogtreecommitdiff
path: root/src/metastore.c
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-02-06 00:05:12 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2016-02-06 00:05:12 +0100
commit9f1643faccda23f0070f0415569395a776055a04 (patch)
tree2e37729a1b5548553f8da0efbbce5a2d32061bf2 /src/metastore.c
parentb390d44bf2573d7bc0b97f19db7969bb2a26aa55 (diff)
Define also _DEFAULT_SOURCE where _BSD_SOURCE is already defined.
It's required to avoid getting warnings w/ glibc >= 2.20.
Diffstat (limited to 'src/metastore.c')
-rw-r--r--src/metastore.c1
1 files changed, 1 insertions, 0 deletions
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 <sys/types.h>
#include <sys/stat.h>
#include <getopt.h>