aboutsummaryrefslogtreecommitdiffstats
path: root/dos/getsetsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dos/getsetsl.c')
-rw-r--r--dos/getsetsl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dos/getsetsl.c b/dos/getsetsl.c
index 5260a2a1..c6e6ae73 100644
--- a/dos/getsetsl.c
+++ b/dos/getsetsl.c
@@ -5,6 +5,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 <inttypes.h>
#include <string.h>
#include <stddef.h>