diff options
author | Darryl Sokoloski <dsokoloski@clearfoundation.com> | 2018-04-16 13:18:04 -0400 |
---|---|---|
committer | Darryl Sokoloski <dsokoloski@clearfoundation.com> | 2018-04-24 10:21:47 -0400 |
commit | c54a8f8cfa11e551d7cddcae3e06e81a59e71cba (patch) | |
tree | ae9a3b41be50b63593d39b5d6b40377b6d027ff6 /example | |
parent | 7798b964fe9d8f42a19b4fb03ec8ad6e3ad76e9c (diff) |
Moved ndpi_config.h from ndpi_main.h to ndpi_main.c, and example source files.
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 4 | ||||
-rw-r--r-- | example/ndpi_util.c | 4 |
2 files changed, 8 insertions, 0 deletions
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 <sched.h> 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 <stdlib.h> #ifdef WIN32 |