mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
151a792e75
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36643
21 lines
470 B
Diff
21 lines
470 B
Diff
--- a/trace-listen.c
|
|
+++ b/trace-listen.c
|
|
@@ -17,6 +17,7 @@
|
|
*
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
*/
|
|
+#define _GNU_SOURCE
|
|
#define _LARGEFILE64_SOURCE
|
|
#include <dirent.h>
|
|
#include <stdio.h>
|
|
--- a/trace-record.c
|
|
+++ b/trace-record.c
|
|
@@ -17,6 +17,7 @@
|
|
*
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
*/
|
|
+#define _GNU_SOURCE
|
|
#include <dirent.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|