summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/mktemp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/mktemp.cc')
-rw-r--r--winsup/cygwin/mktemp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/mktemp.cc b/winsup/cygwin/mktemp.cc
index 7770c3bff..831111d85 100644
--- a/winsup/cygwin/mktemp.cc
+++ b/winsup/cygwin/mktemp.cc
@@ -93,7 +93,7 @@ _gettemp(char *path, int *doopen, int domkdir, size_t suffixlen, int flags)
/*
* check the target directory.
*/
- struct __stat64 sbuf;
+ struct stat sbuf;
if (doopen != NULL || domkdir)
{
for (; trv > path; trv--)