Fix compilation on Windows (#2072)

This commit is contained in:
Ivan Nardi
2023-08-14 22:51:09 +02:00
committed by GitHub
parent cfbb7a423e
commit 5867f43fae
9 changed files with 19 additions and 7 deletions
+1 -2
View File
@@ -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));
}