Commit b38fe6f52fba4645d4657722a81274b34c6fd874

Tony Kelman 2014-12-20T19:12:46

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

1
2
3
4
5
6
7
8
9
10
11
12
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"