aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2018-08-16 12:03:23 +0200
committerLuca Deri <deri@ntop.org>2018-08-16 12:03:23 +0200
commit18b9589e50894e4b9bd0d25c185c1a1631add862 (patch)
treef2331328cdcfb1ff8c28f4669bf9cc37a3114269 /src
parent9847c2ccbbe3db62b39249126fb5c86298f37c9d (diff)
parent335b3369689f8c338f9d7680490f500279ce9bba (diff)
Merge branch 'dev' of https://github.com/ntop/nDPI into dev
Diffstat (limited to 'src')
-rw-r--r--src/include/ndpi_typedefs.h3
-rw-r--r--src/lib/ndpi_main.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 2c4c2c63a..244074044 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -26,6 +26,9 @@
#include "ndpi_define.h"
+/* Needed to have access to HAVE_* defines */
+#include "ndpi_config.h"
+
/* NDPI_LOG_LEVEL */
typedef enum {
NDPI_LOG_ERROR,
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 164481cc4..494c93bd0 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -47,7 +47,7 @@
#include "third_party/src/hash.c"
#ifdef HAVE_HYPERSCAN
-#include <hs.h>
+#include <hs/hs.h>
#endif
#ifdef HAVE_HYPERSCAN