From 9d040f63170951266da688551f65b353c8145072 Mon Sep 17 00:00:00 2001 From: Zied Aouini Date: Fri, 22 Jul 2022 20:14:30 +0200 Subject: Windows compilation fix. --- src/lib/ndpi_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib') diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 31e5a74d2..7622245d1 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -73,9 +73,11 @@ struct pcre_struct { * Please keep this strcture in sync with * `struct ndpi_str_hash` in src/include/ndpi_typedefs.h */ + typedef struct ndpi_str_hash_private { unsigned int hash; void *value; + u_int8_t private_data[1]; UT_hash_handle hh; } ndpi_str_hash_private; #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L -- cgit v1.2.3