]> git.saurik.com Git - wxWidgets.git/commitdiff
conditional include for Darwin related to statfs
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 2 Oct 2001 15:57:20 +0000 (15:57 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Tue, 2 Oct 2001 15:57:20 +0000 (15:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/utilsunx.cpp

index 888eb203af989ca0f980371c487d092afde95596..fbf5377f76fb6e7412f15e56ac7ab1e9a0bf1cc5 100644 (file)
 #include "wx/stream.h"
 
 #ifdef HAVE_STATFS
-    #include <sys/vfs.h>
+#  ifdef __DARWIN__
+#    include <sys/param.h>
+#    include <sys/mount.h>
+#  else
+#    include <sys/vfs.h>
+#  endif
 #endif // HAVE_STATFS
 
 #if wxUSE_GUI