aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rippled/musl-fixes.patch
blob: 7b5710e4ac30db5cc79aa2df0a7d5726e6445739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
diff --git a/src/ripple/basics/StringUtilities.h b/src/ripple/basics/StringUtilities.h
index f4cc83f..d2aa4bd 100644
--- a/src/ripple/basics/StringUtilities.h
+++ b/src/ripple/basics/StringUtilities.h
@@ -26,6 +26,7 @@
 #include <boost/format.hpp>
 #include <sstream>
 #include <string>
+#include <endian.h>
 
 namespace ripple {
 
diff --git a/src/ripple/basics/base_uint.h b/src/ripple/basics/base_uint.h
index cfa6867..1ce4ec3 100644
--- a/src/ripple/basics/base_uint.h
+++ b/src/ripple/basics/base_uint.h
@@ -31,6 +31,7 @@
 #include <ripple/basics/hardened_hash.h>
 #include <ripple/beast/utility/Zero.h>
 #include <boost/functional/hash.hpp>
+#include <endian.h>
 #include <functional>
 #include <type_traits>
 
diff --git a/src/rocksdb2/util/log_buffer.h b/src/rocksdb2/util/log_buffer.h
index 2a24bf8..ddaaa2c 100644
--- a/src/rocksdb2/util/log_buffer.h
+++ b/src/rocksdb2/util/log_buffer.h
@@ -9,6 +9,7 @@
 #include "util/arena.h"
 #include "util/autovector.h"
 #include <ctime>
+#include <sys/time.h>
 
 namespace rocksdb {
 
diff --git a/src/ripple/beast/core/SystemStats.cpp b/src/ripple/beast/core/SystemStats.cpp
index 74caa79..b238979 100644
--- a/src/ripple/beast/core/SystemStats.cpp
+++ b/src/ripple/beast/core/SystemStats.cpp
@@ -50,7 +50,7 @@ getStackBacktrace()
 {
     std::vector <std::string> result;
 
-#if BEAST_ANDROID || BEAST_MINGW || BEAST_BSD
+#if BEAST_ANDROID || BEAST_MINGW || BEAST_BSD || 1
     assert(false); // sorry, not implemented yet!
 
 #elif BEAST_WINDOWS
diff --git a/src/ripple/beast/core/core.unity.cpp b/src/ripple/beast/core/core.unity.cpp
index 83dd1df..b374634 100644
--- a/src/ripple/beast/core/core.unity.cpp
+++ b/src/ripple/beast/core/core.unity.cpp
@@ -113,7 +113,7 @@
  #include <net/if.h>
  #include <sys/ioctl.h>
 
- #if ! BEAST_ANDROID && ! BEAST_BSD
+ #if ! BEAST_ANDROID && ! BEAST_BSD && 0
   #include <execinfo.h>
  #endif
 #endif