summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-09 14:15:32 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-09 15:17:19 +0000
commit1a8b2922d953e78bd51fc6d5ef290e1f7e00af3a (patch)
tree746a9c63a838bce89eab4e24d337e05a44f63cc3
parent1217c5b232a2343f711ecf4c4ed38211ee6a268a (diff)
downloadlibgit2-ethomson/path.tar.gz
win32: include correct path headerethomson/path
-rw-r--r--src/fs_path.h1
-rw-r--r--src/win32/findfile.c2
-rw-r--r--src/win32/path_w32.c2
-rw-r--r--src/win32/posix_w32.c3
4 files changed, 4 insertions, 4 deletions
diff --git a/src/fs_path.h b/src/fs_path.h
index dcedd5eb5..188dcf303 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 7578d960e..d4afc4acc 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 1f765f1de..5d7ad11f6 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 398287f9e..ba46b5ea9 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>