win32: include correct path header
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
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>