Skip to content

Commit 3f02b5b

Browse files
authored
Merge pull request libgit2#5997 from boretrk/sha1_endian
sha1dc: remove conditional for <sys/types.h>
2 parents a7b2195 + 727d903 commit 3f02b5b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/hash/sha1/sha1dc/sha1.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@
1010
#include <memory.h>
1111
#include <stdio.h>
1212
#include <stdlib.h>
13-
#ifdef __unix__
1413
#include <sys/types.h> /* make sure macros like _BIG_ENDIAN visible */
1514
#endif
16-
#endif
1715

1816
#ifdef SHA1DC_CUSTOM_INCLUDE_SHA1_C
1917
#include SHA1DC_CUSTOM_INCLUDE_SHA1_C

0 commit comments

Comments
 (0)