diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-17 10:50:28 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-17 10:50:28 +0000 |
commit | 4ba459871d0b6c5ed4112856dd790dfafbc8c98d (patch) | |
tree | 3668e0333cf2691f4a4c503c28592bf7f1a1c4aa /win32/win32.c | |
parent | 0ef80f22d351c7e8631b49003543bf1a6f007d93 (diff) | |
download | ruby-4ba459871d0b6c5ed4112856dd790dfafbc8c98d.tar.gz |
* win32/win32.c (fstat): declare for mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index f900bfd81e..953c916c93 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -5164,7 +5164,7 @@ static DWORD stati64_handle(HANDLE h, struct stati64 *st); /* License: Ruby's */ static void -stati64_set_inode(PBY_HANDLE_FILE_INFORMATION pinfo, struct stati64 *st) +stati64_set_inode(BY_HANDLE_FILE_INFORMATION *pinfo, struct stati64 *st) { /* struct stati64 layout * @@ -5205,6 +5205,7 @@ stati64_set_inode_handle(HANDLE h, struct stati64 *st) } #undef fstat +extern int fstat(int, struct stat *); /* License: Ruby's */ int rb_w32_fstat(int fd, struct stat *st) |