Fixes broken hyperscan compilation
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user