diff options
author | Vitaliy Ivanov <vitaliyi@interfacemasters.com> | 2020-01-13 16:15:58 +0200 |
---|---|---|
committer | Vitaliy Ivanov <vitaliyi@interfacemasters.com> | 2020-01-13 16:15:58 +0200 |
commit | 24f2cd6fc17395b87cb5e4b078d39f689309e0e1 (patch) | |
tree | 98fc743bec8571028bbd2784aeb26f468b71bd5a /example | |
parent | da5208ee68c1281095e62abb820780fbe7b29bdc (diff) |
example: fix build warning.
ndpiReader.c:24:0: warning: "_GNU_SOURCE" redefined
#define _GNU_SOURCE
<command-line>:0:0: note: this is the location of the previous definition
Signed-off-by: Vitaliy Ivanov <vitaliyi@interfacemasters.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index a2d9885bb..2a9eb286b 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> |