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>
This commit is contained in:
Vitaliy Ivanov
2020-01-13 16:15:58 +02:00
parent da5208ee68
commit 24f2cd6fc1
+2
View File
@@ -21,7 +21,9 @@
#include "ndpi_config.h"
#ifdef linux
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <sched.h>
#endif
#include <stdio.h>