diff --git a/common/type_to_string.c b/common/type_to_string.c index c512d42f7..06c92aceb 100644 --- a/common/type_to_string.c +++ b/common/type_to_string.c @@ -1,3 +1,4 @@ +#include #include #include #include @@ -8,6 +9,8 @@ /* We need at least one, and these are in CCAN so register it here. */ REGISTER_TYPE_TO_HEXSTR(sha256); REGISTER_TYPE_TO_HEXSTR(ripemd160); +/* This one in bitcoin/ but doesn't have its own C file */ +REGISTER_TYPE_TO_HEXSTR(preimage); char *type_to_string_(const tal_t *ctx, const char *typename, union printable_types u)