From 815ac7e309d4b5d07eec7fe6cabb1ee13acc7992 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 10 Nov 2025 17:07:22 +1030 Subject: [PATCH] fuzz: fix compilation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Header changes in master broke this upon rebase :( ``` In file included from ./channeld/full_channel.h:5, from tests/fuzz/fuzz-full_channel.c:7: ./channeld/channeld_htlc.h:13:28: error: field ‘amount’ has incomplete type 13 | struct amount_msat amount; | ^~~~~~ ./channeld/channeld_htlc.h:17:23: error: field ‘rhash’ has incomplete type 17 | struct sha256 rhash; | ^~~~~ ``` Signed-off-by: Rusty Russell --- channeld/channeld_htlc.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channeld/channeld_htlc.h b/channeld/channeld_htlc.h index 2bd7075c2..ed2efe202 100644 --- a/channeld/channeld_htlc.h +++ b/channeld/channeld_htlc.h @@ -1,6 +1,8 @@ #ifndef LIGHTNING_CHANNELD_CHANNELD_HTLC_H #define LIGHTNING_CHANNELD_CHANNELD_HTLC_H #include "config.h" +#include +#include #include #include