diff --git a/include/wx/filefn.h b/include/wx/filefn.h index 8894f9a788..871ed8c932 100644 --- a/include/wx/filefn.h +++ b/include/wx/filefn.h @@ -359,6 +359,9 @@ enum wxFileKind # include // for get_osfhandle() inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) get_osfhandle(fd); } # else +# ifdef __BORLANDC__ +# include "wx/msw/private.h" // for HANDLE +# endif inline HANDLE wxGetOSFHandle(int fd) { return (HANDLE) _get_osfhandle(fd); } # endif #endif