| 1 | --- a/event-utils.h |
| 2 | +++ b/event-utils.h |
| 3 | @@ -22,6 +22,7 @@ |
| 4 | |
| 5 | #include <string.h> |
| 6 | #include <ctype.h> |
| 7 | +#include <stdarg.h> |
| 8 | |
| 9 | /* Can be overridden */ |
| 10 | void die(const char *fmt, ...); |
| 11 | --- a/trace-listen.c |
| 12 | +++ b/trace-listen.c |
| 13 | @@ -17,6 +17,7 @@ |
| 14 | * |
| 15 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 16 | */ |
| 17 | +#define _GNU_SOURCE |
| 18 | #define _LARGEFILE64_SOURCE |
| 19 | #include <dirent.h> |
| 20 | #include <stdio.h> |
| 21 | --- a/trace-record.c |
| 22 | +++ b/trace-record.c |
| 23 | @@ -17,6 +17,7 @@ |
| 24 | * |
| 25 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 26 | */ |
| 27 | +#define _GNU_SOURCE |
| 28 | #include <dirent.h> |
| 29 | #include <stdio.h> |
| 30 | #include <stdlib.h> |
| 31 | |