forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch libgit2 so 0.21.3 can compile with mingw
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/src/path.h b/src/path.h | ||
index 6c50334..444337b 100644 | ||
--- a/src/path.h | ||
+++ b/src/path.h | ||
@@ -8,6 +8,7 @@ | ||
#define INCLUDE_path_h__ | ||
|
||
#include "common.h" | ||
+#include "posix.h" | ||
#include "buffer.h" | ||
#include "vector.h" | ||
|
||
diff --git a/src/win32/path_w32.h b/src/win32/path_w32.h | ||
index 1d10166..033afbb 100644 | ||
--- a/src/win32/path_w32.h | ||
+++ b/src/win32/path_w32.h | ||
@@ -7,6 +7,8 @@ | ||
#ifndef INCLUDE_git_path_w32_h__ | ||
#define INCLUDE_git_path_w32_h__ | ||
|
||
+#include "common.h" | ||
+ | ||
/* | ||
* Provides a large enough buffer to support Windows paths: MAX_PATH is | ||
* 260, corresponding to a maximum path length of 259 characters plus a |