From cffd9cd62dcbc51c4b85f772f2fcbb73d4863ada Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 6 Oct 2026 10:33:25 -0600 Subject: [PATCH] app-layer: don't include decode.h from app-layer-frames.h Including decode.h pulls inline functions that use SCLogDebug and SCLogError into the bindgen input, but util-debug.h hides those macros from bindgen, breaking "make update-bindings". Only forward declarations are needed. --- src/app-layer-frames.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app-layer-frames.h b/src/app-layer-frames.h index 42827261c8..0746b34cae 100644 --- a/src/app-layer-frames.h +++ b/src/app-layer-frames.h @@ -24,7 +24,11 @@ #ifndef SURICATA_APP_LAYER_FRAMES_H #define SURICATA_APP_LAYER_FRAMES_H -#include "decode.h" +#include "app-layer-protos.h" + +typedef struct Flow_ Flow; +typedef struct Packet_ Packet; +typedef struct StreamSlice StreamSlice; /** special value for matching any type */ #define FRAME_ANY_TYPE 62