From 2de1a628f8483351f83626ae2740698988d12192 Mon Sep 17 00:00:00 2001 From: satoshiotomakan <127754187+satoshiotomakan@users.noreply.github.com> Date: Fri, 22 Mar 2024 17:22:07 +0100 Subject: [PATCH] [Misc]: Fix C++ includes on Linux (#3755) * [Misc]: Fix C++ includes on Linux * [Misc]: Fix C++ includes on Linux * [Misc]: Remove `iostream` header * [KMP]: Bump wallet-core-kotlin version to 4.0.30 * [KMP]: Decrease wallet-core-kotlin version to 4.0.29 * [KMP]: Test using the latest wallet-core-kotlin dependency * [KMP]: Debug gradlew assemble * [KMP]: Remove debug --- samples/kmp/shared/build.gradle.kts | 2 +- src/Everscale/CommonTON/Cell.cpp | 1 + src/Tezos/MessageSigner.cpp | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/samples/kmp/shared/build.gradle.kts b/samples/kmp/shared/build.gradle.kts index 93e4a9173b7..c27215519a7 100644 --- a/samples/kmp/shared/build.gradle.kts +++ b/samples/kmp/shared/build.gradle.kts @@ -45,7 +45,7 @@ kotlin { sourceSets { val commonMain by getting { dependencies { - implementation("com.trustwallet:wallet-core-kotlin:4.0.28") + implementation("com.trustwallet:wallet-core-kotlin:+") } } val commonTest by getting { diff --git a/src/Everscale/CommonTON/Cell.cpp b/src/Everscale/CommonTON/Cell.cpp index c7488285d3f..8329c299713 100644 --- a/src/Everscale/CommonTON/Cell.cpp +++ b/src/Everscale/CommonTON/Cell.cpp @@ -5,6 +5,7 @@ #include "Cell.h" #include +#include #include #include #include diff --git a/src/Tezos/MessageSigner.cpp b/src/Tezos/MessageSigner.cpp index 077564019dc..25234f170ed 100644 --- a/src/Tezos/MessageSigner.cpp +++ b/src/Tezos/MessageSigner.cpp @@ -2,8 +2,10 @@ // // Copyright © 2017 Trust Wallet. +#include #include #include +#include #include "Base58.h" #include "HexCoding.h"