Skip to content

Commit 8c616b3

Browse files
committed
amalgamation: include ccan_config.h explicitly
With this change, users of the amalgamation only need to provide wally-specific defines in their config.h.
1 parent dc0821d commit 8c616b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/amalgamation/combined.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
#include "src/secp256k1/src/secp256k1.c"
3434
#include "src/secp256k1/src/precomputed_ecmult_gen.c"
3535
#include "src/secp256k1/src/precomputed_ecmult.c"
36-
#include "src/ccan/ccan/crypto/sha256/sha256.c"
36+
37+
#include "src/ccan_config.h"
3738

3839
#include "src/internal.c"
3940
#include "src/address.c"
@@ -66,6 +67,9 @@
6667
#include "src/wif.c"
6768
#include "src/wordlist.c"
6869

70+
/* ccan sources */
71+
#include "src/ccan/ccan/crypto/sha256/sha256.c"
72+
6973
/* Redefine internal names so sha-512 can be included without conflicts */
7074
#define Round Round_512
7175
#define Transform Transform_512

0 commit comments

Comments
 (0)