Browse Source

librash: Include <sys/endian.h> for byte order

android-5
Fredrik Fornwall 8 years ago
parent
commit
272ba2910e
  1. 13
      packages/librhash/librhash-byte_order.h.patch

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

@ -0,0 +1,13 @@
--- ../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
Loading…
Cancel
Save