]> git.saurik.com Git - wxWidgets.git/commitdiff
Patch for Winlib: struct stat is defined in sys/stat.h, which is not
authorJulian Smart <julian@anthemion.co.uk>
Wed, 15 Jan 2003 08:17:25 +0000 (08:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 15 Jan 2003 08:17:25 +0000 (08:17 +0000)
pulled in by unistd.h on some system.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/file.cpp

index 45e94a868d5639cac3fcde0bc11caf1bf484688d..c02203f65c1287cf5f763623de2167e5df605ee6 100644 (file)
@@ -56,6 +56,7 @@
 
 #elif (defined(__UNIX__) || defined(__GNUWIN32__))
     #include  <unistd.h>
 
 #elif (defined(__UNIX__) || defined(__GNUWIN32__))
     #include  <unistd.h>
+    #include  <sys/stat.h>
     #ifdef __GNUWIN32__
         #include <windows.h>
     #endif
     #ifdef __GNUWIN32__
         #include <windows.h>
     #endif