summaryrefslogtreecommitdiff
path: root/nt/inc/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'nt/inc/sys/stat.h')
-rw-r--r--nt/inc/sys/stat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/nt/inc/sys/stat.h b/nt/inc/sys/stat.h
index d09925db5ec..57fabff4b0c 100644
--- a/nt/inc/sys/stat.h
+++ b/nt/inc/sys/stat.h
@@ -97,6 +97,9 @@ struct stat {
char st_gname[260];
};
+/* Prevent redefinition by other headers, e.g. wchar.h. */
+#define _STAT_DEFINED
+
_CRTIMP int __cdecl __MINGW_NOTHROW fstat (int, struct stat*);
_CRTIMP int __cdecl __MINGW_NOTHROW chmod (const char*, int);
_CRTIMP int __cdecl __MINGW_NOTHROW stat (const char*, struct stat*);