mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36643 3c298f89-4303-0410-b956-a3cf2f4a3e73
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>
|