diff options
author | Simone Mainardi <mainardi@ntop.org> | 2018-08-16 11:47:10 +0200 |
---|---|---|
committer | Simone Mainardi <mainardi@ntop.org> | 2018-08-16 11:47:10 +0200 |
commit | 335b3369689f8c338f9d7680490f500279ce9bba (patch) | |
tree | 5903670b59fb8aa3c4ac50e2f891fa99c825b5af /src | |
parent | 70eb619b86656cf8ee8425fe67d862f554ebfbe2 (diff) |
Hyperscan compilation fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 3 | ||||
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 5573c0e90..92111dd73 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 45490685f..4f1591700 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 |