Commit 3f02b5b95e90d6be25aedf3f861e173182e815d7

Edward Thomson 2021-08-18T16:33:31

Merge pull request #5997 from boretrk/sha1_endian sha1dc: remove conditional for <sys/types.h>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/hash/sha1/sha1dc/sha1.c b/src/hash/sha1/sha1dc/sha1.c
index 9d3cf81..86b8cc0 100644
--- a/src/hash/sha1/sha1dc/sha1.c
+++ b/src/hash/sha1/sha1dc/sha1.c
@@ -10,10 +10,8 @@
 #include <memory.h>
 #include <stdio.h>
 #include <stdlib.h>
-#ifdef __unix__
 #include <sys/types.h> /* make sure macros like _BIG_ENDIAN visible */
 #endif
-#endif
 
 #ifdef SHA1DC_CUSTOM_INCLUDE_SHA1_C
 #include SHA1DC_CUSTOM_INCLUDE_SHA1_C