From 24f2cd6fc17395b87cb5e4b078d39f689309e0e1 Mon Sep 17 00:00:00 2001 From: Vitaliy Ivanov Date: Mon, 13 Jan 2020 16:15:58 +0200 Subject: example: fix build warning. ndpiReader.c:24:0: warning: "_GNU_SOURCE" redefined #define _GNU_SOURCE :0:0: note: this is the location of the previous definition Signed-off-by: Vitaliy Ivanov --- example/ndpiReader.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example') 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 #endif #include -- cgit v1.2.3