aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-01-14 16:36:51 -0800
committerGitHub <noreply@github.com>2020-01-14 16:36:51 -0800
commit9f7b1c84f2d07fff6ca5b59e30615a7a41f1b25d (patch)
tree685ed2bc0025fde7e1ef4c67d9ccafd74d30eadf /example/ndpiReader.c
parente1047b324bc67bd64f690b0848ad26464b6a982e (diff)
parent24f2cd6fc17395b87cb5e4b078d39f689309e0e1 (diff)
Merge pull request #829 from vitalivanov/pull_warning_vit
example: fix build warning.
Diffstat (limited to 'example/ndpiReader.c')
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 8c2c72a78..908afb176 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -21,7 +21,9 @@
#include "ndpi_config.h"
#ifdef linux
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
#include <sched.h>
#endif
#include <stdio.h>