aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2023-06-12 19:53:57 +0200
committerGitHub <noreply@github.com>2023-06-12 19:53:57 +0200
commit4e284b5e40f08e708af9ddeb9ca04d9642636dcd (patch)
treec7c88630531d073682d476e1af3cdbaddf3779f9 /example/ndpiReader.c
parent8ea0eaa0d0c4a3be05f67ef7fa1d22c2579cf7d1 (diff)
Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 19f53d176..f7482ca65 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -21,9 +21,6 @@
#include "ndpi_config.h"
#ifdef __linux__
-#ifndef _GNU_SOURCE
-#define _GNU_SOURCE
-#endif
#include <sched.h>
#endif