]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/file.cpp
added support for POST method and alternate ports (part of patch 649438)
[wxWidgets.git] / src / common / file.cpp
index 372c69246152991dc0c378b395f8794018880df4..04fd887a9383cef8849c980e3653b9134ba739e2 100644 (file)
 #include  <stdio.h>       // SEEK_xxx constants
 #include  <fcntl.h>       // O_RDONLY &c
 
-#if !defined(__MWERKS__) || defined(__WXMSW__)
+#ifndef __MWERKS__
+    #include  <sys/types.h>   // needed for stat
+    #include  <sys/stat.h>    // stat
+#elif defined(__MWERKS__) && ( defined(__WXMSW__) || defined(__MACH__) )
     #include  <sys/types.h>   // needed for stat
     #include  <sys/stat.h>    // stat
 #endif