aboutsummaryrefslogtreecommitdiff
path: root/include/compat/sys/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat/sys/stat.h')
-rw-r--r--include/compat/sys/stat.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/compat/sys/stat.h b/include/compat/sys/stat.h
index 0e04553..629c7fe 100644
--- a/include/compat/sys/stat.h
+++ b/include/compat/sys/stat.h
@@ -8,6 +8,15 @@
8 8
9#ifndef _MSC_VER 9#ifndef _MSC_VER
10#include_next <sys/stat.h> 10#include_next <sys/stat.h>
11
12/* for old MinGW */
13#ifndef S_IRGRP
14#define S_IRGRP 0
15#endif
16#ifndef S_IROTH
17#define S_IROTH 0
18#endif
19
11#else 20#else
12 21
13#include <windows.h> 22#include <windows.h>