From 5e0befd56c1dc70f2f7831eaa5e94dbd47565d8d Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 30 Nov 2021 17:24:42 +0100 Subject: Fixed seriealizer unit --- tests/unit/unit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit') diff --git a/tests/unit/unit.c b/tests/unit/unit.c index 657855bdf..394b35fa4 100644 --- a/tests/unit/unit.c +++ b/tests/unit/unit.c @@ -55,7 +55,7 @@ #include "ndpi_config.h" #include "ndpi_api.h" -#ifdef HAVE_JSON_H +#ifdef HAVE_LIBJSON_C #include "json.h" /* JSON-C */ #endif @@ -65,7 +65,7 @@ static int verbose = 0; /* *********************************************** */ int serializerUnitTest() { -#ifdef HAVE_JSON_H +#ifdef HAVE_LIBJSON_C ndpi_serializer serializer, deserializer; int i, loop_id; ndpi_serialization_format fmt = {0}; -- cgit v1.2.3