diff options
| author | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-10-31 13:11:01 +0000 |
|---|---|---|
| committer | Czarek Nakamoto <cyjan@mrcyjanek.net> | 2024-10-31 13:11:01 +0000 |
| commit | dfc7c5eea0bed2f4dc7a8cabfb33ad49370cd3a1 (patch) | |
| tree | 9706ca4b29798280a6c4ba8118f0d2cf91f17628 /patches/zano/0002-add-missing-include.patch | |
| parent | 1d8e0fb30b53c28756f23676d5a3e1a99a9b3051 (diff) | |
initial zano commit
Diffstat (limited to 'patches/zano/0002-add-missing-include.patch')
| -rw-r--r-- | patches/zano/0002-add-missing-include.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/patches/zano/0002-add-missing-include.patch b/patches/zano/0002-add-missing-include.patch new file mode 100644 index 0000000..4b1c885 --- /dev/null +++ b/patches/zano/0002-add-missing-include.patch @@ -0,0 +1,64 @@ +From eba98d075a29b0c3b07484cea6b706f024063396 Mon Sep 17 00:00:00 2001 +From: Czarek Nakamoto <cyjan@mrcyjanek.net> +Date: Thu, 31 Oct 2024 13:07:20 +0000 +Subject: [PATCH 2/2] add missing #include + +--- + src/currency_core/genesis.cpp | 1 + + src/currency_core/genesis.h | 2 +- + src/wallet/plain_wallet_api.cpp | 1 + + src/wallet/plain_wallet_api.h | 1 + + 4 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/src/currency_core/genesis.cpp b/src/currency_core/genesis.cpp +index a58dcb4e..c34b0285 100644 +--- a/src/currency_core/genesis.cpp ++++ b/src/currency_core/genesis.cpp +@@ -4,6 +4,7 @@ + // file COPYING or http://www.opensource.org/licenses/mit-license.php. + + #include "genesis.h" ++#include <cstdint> + + namespace currency + { +diff --git a/src/currency_core/genesis.h b/src/currency_core/genesis.h +index 8ea77d89..d78cec97 100644 +--- a/src/currency_core/genesis.h ++++ b/src/currency_core/genesis.h +@@ -3,7 +3,7 @@ + // Copyright (c) 2014-2018 The Louisdor Project + // Distributed under the MIT/X11 software license, see the accompanying + // file COPYING or http://www.opensource.org/licenses/mit-license.php. +- ++#include <cstdint> + #pragma once + #include <string> + namespace currency +diff --git a/src/wallet/plain_wallet_api.cpp b/src/wallet/plain_wallet_api.cpp +index 3a9a1552..a211acdb 100644 +--- a/src/wallet/plain_wallet_api.cpp ++++ b/src/wallet/plain_wallet_api.cpp +@@ -6,6 +6,7 @@ + #ifdef ANDROID_BUILD + #include <android/log.h> + #endif ++#include <cstdint> + #include "plain_wallet_api.h" + #include "plain_wallet_api_defs.h" + #include "currency_core/currency_config.h" +diff --git a/src/wallet/plain_wallet_api.h b/src/wallet/plain_wallet_api.h +index f12eba03..177b8173 100644 +--- a/src/wallet/plain_wallet_api.h ++++ b/src/wallet/plain_wallet_api.h +@@ -6,6 +6,7 @@ + #pragma once + + #include <string> ++#include <cstdint> + #include "../common/error_codes.h" + + namespace plain_wallet +-- +2.43.0 + |
