preload-hacks: Some patches to make it work.
[termux-packages] / packages / librhash / librhash-byte_order.h.patch
1 --- ../RHash-1.3.4/librhash/byte_order.h 2016-11-06 21:12:16.000000000 +0100
2 +++ ./librhash/byte_order.h 2017-04-13 15:01:29.364785379 +0200
3 @@ -12,6 +12,10 @@
4 # include <endian.h>
5 #endif
6
7 +#ifdef __ANDROID__
8 +# include <sys/endian.h>
9 +#endif
10 +
11 #ifdef __cplusplus
12 extern "C" {
13 #endif