From d3789825d3823bdbbebe278172345243618ca541 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Mon, 4 Jul 2011 21:33:26 +0200 Subject: fileops: Fix stat() on directories for W32 --- src/win32/posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/win32/posix.h') diff --git a/src/win32/posix.h b/src/win32/posix.h index 3b5bff806..90571ae1d 100644 --- a/src/win32/posix.h +++ b/src/win32/posix.h @@ -21,6 +21,6 @@ extern int p_unlink(const char *path); extern int p_lstat(const char *file_name, struct stat *buf); extern int p_readlink(const char *link, char *target, size_t target_len); extern int p_hide_directory__w32(const char *path); -extern int p_realpath(const char *orig_path, char *buffer); +extern char *p_realpath(const char *orig_path, char *buffer); #endif -- cgit v1.2.1