aboutsummaryrefslogtreecommitdiffstats
path: root/main/rhash/byteorder.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/rhash/byteorder.patch')
-rw-r--r--main/rhash/byteorder.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/rhash/byteorder.patch b/main/rhash/byteorder.patch
new file mode 100644
index 00000000000..a0cb83d6bcb
--- /dev/null
+++ b/main/rhash/byteorder.patch
@@ -0,0 +1,13 @@
+diff --git a/librhash/byte_order.h b/librhash/byte_order.h
+index 1ea1096..b248b57 100644
+--- a/librhash/byte_order.h
++++ b/librhash/byte_order.h
+@@ -4,7 +4,7 @@
+ #include "ustd.h"
+ #include <stdlib.h>
+
+-#if defined(__GLIBC__)
++#if defined(__linux__)
+ # include <endian.h>
+ #endif
+ #if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__APPLE__)