mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
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>
|