Skip to content

Commit 944605c

Browse files
committed
sha fixes
1 parent 184211d commit 944605c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sha2.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@
8686
* <machine/endian.h> where the appropriate definitions are actually
8787
* made).
8888
*/
89+
#if defined(__MINGW32__) || defined(__MINGW64__)
90+
#include <sys/param.h>
91+
#endif
8992
#if !defined(BYTE_ORDER) || (BYTE_ORDER != LITTLE_ENDIAN && BYTE_ORDER != BIG_ENDIAN)
9093
#error Define BYTE_ORDER to be equal to either LITTLE_ENDIAN or BIG_ENDIAN
9194
#endif

0 commit comments

Comments
 (0)