summaryrefslogtreecommitdiff
path: root/libbridge/src/main/cpp/wallet2_api_c.cpp
diff options
context:
space:
mode:
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"
{