+
+#if wxUSE_UNICODE
+# define wxNEED_WX_UNISTD_H
+#if defined(__MWERKS__) && defined(macintosh)
+ #include <sys/stat.h>
+#endif
+#if defined(__DMC__)
+ typedef unsigned long mode_t;
+#endif
+WXDLLIMPEXP_BASE int wxStat( const wxChar *file_name, wxStructStat *buf );
+WXDLLIMPEXP_BASE int wxAccess( const wxChar *pathname, int mode );
+WXDLLIMPEXP_BASE int wxOpen( const wxChar *pathname, int flags, mode_t mode );
+#else
+ #define wxOpen open
+ #define wxStat stat
+ #define wxAccess access
+#endif