diff options
author | Simone Mainardi <mainardi@ntop.org> | 2018-09-11 10:43:04 +0200 |
---|---|---|
committer | Simone Mainardi <mainardi@ntop.org> | 2018-09-11 10:43:04 +0200 |
commit | 6ac83ce7eb9961785bb2b7ba4c3788524591b30f (patch) | |
tree | 6cff4a3c5aec6ede583b7140a77ee515a13513db /src | |
parent | b9ae0f8888da758f93aa6ed2033b614926a4e3d8 (diff) |
Fixes broken hyperscan compilation
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 2 | ||||
-rw-r--r-- | src/lib/ndpi_main.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index c4df5b030..385c330f4 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -858,6 +858,8 @@ typedef struct ndpi_proto { #include "ndpi_config.h" #ifdef HAVE_HYPERSCAN +#include <hs/hs.h> + struct hs_list { char *expression; unsigned int id; diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index b00225c7c..b4fa7a9bc 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -47,10 +47,6 @@ #include "third_party/include/hash.h" /* #include "third_party/src/hash.c" */ -#ifdef HAVE_HYPERSCAN -#include <hs/hs.h> -#endif - #define NDPI_CONST_GENERIC_PROTOCOL_NAME "GenericProtocol" static int _ndpi_debug_callbacks = 0; |