Commit 1a8b2922d953e78bd51fc6d5ef290e1f7e00af3a

Edward Thomson 2021-11-09T14:15:32

win32: include correct path header

diff --git a/src/fs_path.h b/src/fs_path.h
index dcedd5e..188dcf3 100644
--- a/src/fs_path.h
+++ b/src/fs_path.h
@@ -12,6 +12,7 @@
 #include "posix.h"
 #include "str.h"
 #include "vector.h"
+#include "utf8.h"
 
 #include "git2/sys/path.h"
 
diff --git a/src/win32/findfile.c b/src/win32/findfile.c
index 7578d96..d4afc4a 100644
--- a/src/win32/findfile.c
+++ b/src/win32/findfile.c
@@ -9,7 +9,7 @@
 
 #include "path_w32.h"
 #include "utf-conv.h"
-#include "path.h"
+#include "fs_path.h"
 
 #define REG_MSYSGIT_INSTALL_LOCAL L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Git_is1"
 
diff --git a/src/win32/path_w32.c b/src/win32/path_w32.c
index 1f765f1..5d7ad11 100644
--- a/src/win32/path_w32.c
+++ b/src/win32/path_w32.c
@@ -7,7 +7,7 @@
 
 #include "path_w32.h"
 
-#include "path.h"
+#include "fs_path.h"
 #include "utf-conv.h"
 #include "posix.h"
 #include "reparse.h"
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c
index 398287f..ba46b5e 100644
--- a/src/win32/posix_w32.c
+++ b/src/win32/posix_w32.c
@@ -9,10 +9,9 @@
 
 #include "../posix.h"
 #include "../futils.h"
-#include "path.h"
+#include "fs_path.h"
 #include "path_w32.h"
 #include "utf-conv.h"
-#include "repository.h"
 #include "reparse.h"
 #include <errno.h>
 #include <io.h>