From c54a8f8cfa11e551d7cddcae3e06e81a59e71cba Mon Sep 17 00:00:00 2001 From: Darryl Sokoloski Date: Mon, 16 Apr 2018 13:18:04 -0400 Subject: Moved ndpi_config.h from ndpi_main.h to ndpi_main.c, and example source files. --- example/ndpiReader.c | 4 ++++ example/ndpi_util.c | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'example') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index ddd83bb74..6a4c31ade 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -18,6 +18,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "ndpi_config.h" +#endif + #ifdef linux #define _GNU_SOURCE #include diff --git a/example/ndpi_util.c b/example/ndpi_util.c index 104aa4db5..0d690e767 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -21,6 +21,10 @@ * */ +#ifdef HAVE_CONFIG_H +#include "ndpi_config.h" +#endif + #include #ifdef WIN32 -- cgit v1.2.3