diff options
author | Luca Deri <deri@ntop.org> | 2021-11-30 17:24:42 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-11-30 17:24:42 +0100 |
commit | 5e0befd56c1dc70f2f7831eaa5e94dbd47565d8d (patch) | |
tree | 434439779d225999a52eb3b5039bc6870835b89e /tests/unit | |
parent | 4f81cdc103d1d092cacaa1c5a444e136f894d2dc (diff) |
Fixed seriealizer unit
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/unit.c | 4 |
1 files changed, 2 insertions, 2 deletions
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}; |