commit 4adc74ad7ec7bba2c168a8d629c0fd1c9823e215 parent 46aa5aac53428664e82a6ed1c62dc050113745c9 Author: Frederic Cambus <fred@statdns.com> Date: Sun, 6 Jan 2019 00:22:55 +0100 Define _XOPEN_SOURCE 700, fixes 'strdup' implicit declaration on Linux. Diffstat:
M | src/statzone.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/statzone.c b/src/statzone.c @@ -11,6 +11,7 @@ */ #define _POSIX_C_SOURCE 199309L +#define _XOPEN_SOURCE 700 #include <sys/stat.h> #include <sys/time.h>