From e5ac43922637315a3f99d08a9a22d605b9ad597d Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 15 Sep 2023 14:49:11 -0600 Subject: [PATCH] output-flow.h: include flow.h and decode.h A library/plugin user wanting to register a custom flow logger must include "output-flow.h", however that depends on some other includes. One train of thought with respect to include files in libraries, is that they should include all their dependencies on behalf of the user. To make a custom flow logger just a little easier, include "flow.h" and "decode.h". Ticket: #7227 --- src/output-flow.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/output-flow.h b/src/output-flow.h index fc6ba5b39e..906921b002 100644 --- a/src/output-flow.h +++ b/src/output-flow.h @@ -26,7 +26,9 @@ #ifndef SURICATA_OUTPUT_FLOW_H #define SURICATA_OUTPUT_FLOW_H +#include "decode.h" #include "tm-modules.h" +#include "flow.h" /** flow logger function pointer type */ typedef int (*FlowLogger)(ThreadVars *, void *thread_data, Flow *f); -- 2.47.2