Skip to content

Commit 109973b

Browse files
committed
Tweak conditional compilation for a Unix-alike
1 parent 698a90e commit 109973b

File tree

1 file changed

+1
-1
lines changed
  • src/libgit2/src/hash/sha1dc

1 file changed

+1
-1
lines changed

src/libgit2/src/hash/sha1dc/sha1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include <memory.h>
1111
#include <stdio.h>
1212
#include <stdlib.h>
13-
#ifdef __unix__
13+
#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
1414
#include <sys/types.h> /* make sure macros like _BIG_ENDIAN visible */
1515
#endif
1616
#endif

0 commit comments

Comments
 (0)