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

15 lines
342 B
Diff

diff -u -r ../RHash-1.3.6/librhash/byte_order.h ./librhash/byte_order.h
--- ../RHash-1.3.6/librhash/byte_order.h 2018-03-14 02:42:17.000000000 +0100
+++ ./librhash/byte_order.h 2018-04-22 21:55:52.997763406 +0200
@@ -14,6 +14,10 @@
#endif
+#ifdef __ANDROID__
+# include <sys/endian.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif