summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h
index 4e6007ad4..ae8932bd3 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -98,6 +98,9 @@ extern int gitfo_mv_force(const char *from, const char *to);
#ifdef GIT_WIN32
# define gitfo_lstat(p,b) gitfo_lstat__w32(p,b)
# define gitfo_readlink(a, b, c) gitfo_readlink__w32(a, b, c)
+
+ extern int gitfo_lstat__w32(const char *file_name, struct stat *buf);
+ extern int gitfo_readlink__w32(const char *link, char *target, size_t target_len);
#else
# define gitfo_lstat(p,b) lstat(p,b)
# define gitfo_readlink(a, b, c) readlink(a, b, c)