Fixes broken hyperscan compilation

This commit is contained in:
Simone Mainardi
2018-09-11 10:43:04 +02:00
parent b9ae0f8888
commit 6ac83ce7eb
4 changed files with 4 additions and 5 deletions
+2
View File
@@ -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;
-4
View File
@@ -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;