diff options
author | Tony Kelman <tony@kelman.net> | 2014-12-20 19:12:46 -0800 |
---|---|---|
committer | Tony Kelman <tony@kelman.net> | 2014-12-20 19:12:46 -0800 |
commit | b38fe6f52fba4645d4657722a81274b34c6fd874 (patch) | |
tree | 0b60268c1c907805d5302d12263a12033382fe8f | |
parent | 4058f1ccccbf12331b5094652efa796ac899e85a (diff) | |
download | libgit2-b38fe6f52fba4645d4657722a81274b34c6fd874.tar.gz |
Fix build of tests with mingw
very, very partial backport of 2f795d8fc50d81641d95723d9ddd92795886bed3 to maint/v0.21 branch
without this include, O_RDWR and O_CREAT are undeclared when building tests/path/win32.c with mingw
-rw-r--r-- | src/path.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/path.h b/src/path.h index 6c503340a..444337b32 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" |