diff options
Diffstat (limited to 'compat/win32.h')
-rw-r--r-- | compat/win32.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/win32.h b/compat/win32.h index e8c178d8cd..8ce91048de 100644 --- a/compat/win32.h +++ b/compat/win32.h @@ -2,7 +2,9 @@ #define WIN32_H /* common Win32 functions for MinGW and Cygwin */ +#ifndef WIN32 /* Not defined by Cygwin */ #include <windows.h> +#endif static inline int file_attr_to_st_mode (DWORD attr) { |