]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
Winelib fix
[wxWidgets.git] / src / common / filefn.cpp
index 9f9846f969d5acb0288b40c2d48e0e36203863b7..afc6b6705e32ada508bb499701f8f8d244e4ec4c 100644 (file)
@@ -79,6 +79,9 @@
     #if defined __MWERKS__ || defined __CYGWIN__
         #include <io.h>
     #endif
+    #if defined __WINE__
+    extern "C" { long _get_osfhandle(int); }
+    #endif
 #endif // __WINDOWS__
 
 #if defined(__VMS__)