X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4e41ce37ac7bcb43663241439cee68ebeff7ffc..a400a8230f751da518c29bd9a1c67132a4ae2b75:/src/common/file.cpp diff --git a/src/common/file.cpp b/src/common/file.cpp index 372c692461..04fd887a93 100644 --- a/src/common/file.cpp +++ b/src/common/file.cpp @@ -91,7 +91,10 @@ #include // SEEK_xxx constants #include // O_RDONLY &c -#if !defined(__MWERKS__) || defined(__WXMSW__) +#ifndef __MWERKS__ + #include // needed for stat + #include // stat +#elif defined(__MWERKS__) && ( defined(__WXMSW__) || defined(__MACH__) ) #include // needed for stat #include // stat #endif