termux-packages/packages/librhash/librhash-byte_order.h.patch

14 lines
290 B
Diff
Raw Normal View History

--- ../RHash-1.3.4/librhash/byte_order.h 2016-11-06 21:12:16.000000000 +0100
+++ ./librhash/byte_order.h 2017-04-13 15:01:29.364785379 +0200
@@ -12,6 +12,10 @@
# include <endian.h>
#endif
+#ifdef __ANDROID__
+# include <sys/endian.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif