diff options
Diffstat (limited to 'net-p2p/litecoin/files')
-rw-r--r-- | net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp b/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp new file mode 100644 index 000000000000..ca54cf1dd175 --- /dev/null +++ b/net-p2p/litecoin/files/patch-src_crypto_scrypt.cpp @@ -0,0 +1,11 @@ +--- src/crypto/scrypt.cpp.orig 2019-09-19 19:04:21 UTC ++++ src/crypto/scrypt.cpp +@@ -60,6 +60,8 @@ static inline void be32enc(void *pp, uint32_t x) + p[0] = (x >> 24) & 0xff; + } + ++#else ++#include <sys/endian.h> + #endif + typedef struct HMAC_SHA256Context { + SHA256_CTX ictx; |