Skip to content

Commit 815ac7e

Browse files
committed
fuzz: fix compilation.
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 <[email protected]>
1 parent fa28e07 commit 815ac7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

channeld/channeld_htlc.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#ifndef LIGHTNING_CHANNELD_CHANNELD_HTLC_H
22
#define LIGHTNING_CHANNELD_CHANNELD_HTLC_H
33
#include "config.h"
4+
#include <ccan/crypto/sha256/sha256.h>
5+
#include <common/amount.h>
46
#include <common/htlc.h>
57
#include <common/pseudorand.h>
68

0 commit comments

Comments
 (0)