aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/ndpiReader.c4
-rw-r--r--example/ndpi_util.c4
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