We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 698a90e commit 109973bCopy full SHA for 109973b
src/libgit2/src/hash/sha1dc/sha1.c
@@ -10,7 +10,7 @@
10
#include <memory.h>
11
#include <stdio.h>
12
#include <stdlib.h>
13
-#ifdef __unix__
+#if defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
14
#include <sys/types.h> /* make sure macros like _BIG_ENDIAN visible */
15
#endif
16
0 commit comments