]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dir.cpp
compilation fix
[wxWidgets.git] / src / msw / dir.cpp
index 724625bf1ad4b7130c09b07e33ae7209882743e0..514c4c3c89e3b8b9f08eed7cc0fa410083ed97e8 100644 (file)
 #include "wx/dir.h"
 #include "wx/filefn.h"          // for wxPathExists()
 
+#ifdef __WXMSW__
+    #include "wx/msw/private.h"
+#endif
+
 // ----------------------------------------------------------------------------
 // define the types and functions used for file searching
 // ----------------------------------------------------------------------------
         return (attr & (_A_SYSTEM | _A_HIDDEN)) != 0;
     }
 #else // Win32
-    #include <windows.h>
-
     typedef WIN32_FIND_DATA FIND_STRUCT;
     typedef HANDLE FIND_DATA;
     typedef DWORD FIND_ATTR;