aboutsummaryrefslogtreecommitdiffstats
path: root/libinstaller/fs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libinstaller/fs.c')
-rw-r--r--libinstaller/fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libinstaller/fs.c b/libinstaller/fs.c
index 179629e9..19d69d3e 100644
--- a/libinstaller/fs.c
+++ b/libinstaller/fs.c
@@ -18,6 +18,8 @@
#define _XOPEN_SOURCE 500 /* Required on glibc 2.x */
#define _BSD_SOURCE
+/* glibc 2.20 deprecates _BSD_SOURCE in favour of _DEFAULT_SOURCE */
+#define _DEFAULT_SOURCE 1
#include <stdio.h>
#include <inttypes.h>
#include <string.h>