summaryrefslogtreecommitdiff
path: root/libbridge/src
diff options
context:
space:
mode:
authorCzarek Nakamoto <cyjan@mrcyjanek.net>2024-01-02 22:45:20 +0100
committerCzarek Nakamoto <cyjan@mrcyjanek.net>2024-01-02 22:45:20 +0100
commit7b7bca87a535462dac62e087309bf90c04495005 (patch)
tree13da7577762553437f2a34f7e31cc9c6678f3ce8 /libbridge/src
parentb0d4215319c69dee2e3907167fa1dfbd41be3e4b (diff)
drop android's `log` library.
linux support
Diffstat (limited to 'libbridge/src')
-rw-r--r--libbridge/src/main/cpp/helpers.cpp1
-rw-r--r--libbridge/src/main/cpp/wallet2_api_c.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/libbridge/src/main/cpp/helpers.cpp b/libbridge/src/main/cpp/helpers.cpp
index ffb96f2..064ce36 100644
--- a/libbridge/src/main/cpp/helpers.cpp
+++ b/libbridge/src/main/cpp/helpers.cpp
@@ -8,6 +8,7 @@
#include "helpers.hpp"
#include <set>
#include <sstream>
+#include <cstring>
const char* vectorToString(const std::vector<std::string>& vec, const std::string separator) {
// Concatenate all strings in the vector
diff --git a/libbridge/src/main/cpp/wallet2_api_c.cpp b/libbridge/src/main/cpp/wallet2_api_c.cpp
index b3ea430..e173526 100644
--- a/libbridge/src/main/cpp/wallet2_api_c.cpp
+++ b/libbridge/src/main/cpp/wallet2_api_c.cpp
@@ -3,6 +3,7 @@
#include "wallet2_api.h"
#include <unistd.h>
#include "helpers.hpp"
+#include <cstring>
#ifdef __cplusplus
extern "C"