summaryrefslogtreecommitdiff
path: root/libbridge/src/main/cpp/wallet2_api_c.cpp
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-03-27 15:46:01 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-03-27 15:46:01 +0100
commit04d02626863144a69caf5c821502c91093b7de58 (patch)
tree9705066cbe5610f95e669a47cfcc8cd5cc7a5048 /libbridge/src/main/cpp/wallet2_api_c.cpp
parentb2ce0ed438038ca8c6dfb8368579d351d721eb52 (diff)
fix wownero coin control
use proper headers properly apply patches
Diffstat (limited to 'libbridge/src/main/cpp/wallet2_api_c.cpp')
-rw-r--r--libbridge/src/main/cpp/wallet2_api_c.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp
index d5da3e1..9208765 100644
--- a/libbridge/src/main/cpp/wallet2_api_c.cpp
+++ b/libbridge/src/main/cpp/wallet2_api_c.cpp
@@ -1,11 +1,19 @@
#include <inttypes.h>
#include "wallet2_api_c.h"
-#include "wallet2_api.h"
#include <unistd.h>
#include "helpers.hpp"
#include <cstring>
#include <thread>
+#ifdef FLAVOR_MONERO
+#include "../../../../monero/src/wallet/api/wallet2_api.h"
+#endif
+
+#ifdef FLAVOR_WOWNERO
+#include "../../../../wownero/src/wallet/api/wallet2_api.h"
+#endif
+
+
#ifdef __cplusplus
extern "C"
{