aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_analyze.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-08-14 22:51:09 +0200
committerGitHub <noreply@github.com>2023-08-14 22:51:09 +0200
commit5867f43fae70b1a08b64e8635bf8183ba4d29124 (patch)
tree6204868707874c790dfe103fcdfc9c34f1b792bb /src/lib/ndpi_analyze.c
parentcfbb7a423edd42976097b779ac9d71f1c4badeee (diff)
Fix compilation on Windows (#2072)
Diffstat (limited to 'src/lib/ndpi_analyze.c')
-rw-r--r--src/lib/ndpi_analyze.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ndpi_analyze.c b/src/lib/ndpi_analyze.c
index ef3d3cb9a..e9aa99a31 100644
--- a/src/lib/ndpi_analyze.c
+++ b/src/lib/ndpi_analyze.c
@@ -30,6 +30,7 @@
#include <float.h> /* FLT_EPSILON */
#include "ndpi_api.h"
#include "ndpi_config.h"
+#include "third_party/include/hll.h"
/* ********************************************************************************* */
@@ -298,8 +299,6 @@ const char* ndpi_data_ratio2str(float ratio) {
/* ********************************************************************************* */
/* ********************************************************************************* */
-#include "third_party/src/hll/hll.c"
-
int ndpi_hll_init(struct ndpi_hll *hll, u_int8_t bits) {
return(hll_init(hll, bits));
}