termux-packages/packages/rhash/librhash-byte_order.h.patch
2018-06-22 01:22:14 +02:00

14 lines
290 B
Diff

--- ../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