View | Details | Raw Unified | Return to bug 240695
Collapse All | Expand All

(-)files/patch-src_crypto_scrypt.cpp (+11 lines)
Line 0 Link Here
1
--- src/crypto/scrypt.cpp.orig	2019-09-19 19:04:21 UTC
2
+++ src/crypto/scrypt.cpp
3
@@ -60,6 +60,8 @@ static inline void be32enc(void *pp, uint32_t x)
4
 	p[0] = (x >> 24) & 0xff;
5
 }
6
 
7
+#else
8
+#include <sys/endian.h>
9
 #endif
10
 typedef struct HMAC_SHA256Context {
11
 	SHA256_CTX ictx;

Return to bug 240695