diff options
Diffstat (limited to 'libinstaller/syslxmod.c')
-rw-r--r-- | libinstaller/syslxmod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libinstaller/syslxmod.c b/libinstaller/syslxmod.c index c706f2c2..3759f203 100644 --- a/libinstaller/syslxmod.c +++ b/libinstaller/syslxmod.c @@ -17,6 +17,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> |