From: Anna Norokh -X (anorokh - SOFTSERVE INC at Cisco) Date: Fri, 28 Feb 2025 14:01:56 +0000 (+0000) Subject: Pull request #4640: helpers: add missing include for unit tests X-Git-Tag: 3.7.1.0~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7280860fc636a4450ec2131c2b7c31ea2b3d2f31;p=thirdparty%2Fsnort3.git Pull request #4640: helpers: add missing include for unit tests Merge in SNORT/snort3 from ~ANOROKH/snort3:fix_platforms_js_stream to master Squashed commit of the following: commit 9b5d56627d559663368700a8616ac49f62222551 Author: anorokh Date: Fri Feb 28 10:35:04 2025 +0200 helpers: add missing include for unit tests --- diff --git a/src/helpers/json_stream.cc b/src/helpers/json_stream.cc index d1f26f3cc..bcc3c6e06 100644 --- a/src/helpers/json_stream.cc +++ b/src/helpers/json_stream.cc @@ -223,6 +223,8 @@ void JsonStream::put_escaped(const char* v, size_t len) #ifdef UNIT_TEST +#include + #include "catch/snort_catch.h" class JsonStreamTest : public JsonStream