X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b077d483bcd47bcd1c3e89a9adc1d6b1a44e046..095472c0da262f8a686a6adfef0362c3eada3ccb:/src/common/cwy_tab.c

diff --git a/src/common/cwy_tab.c b/src/common/cwy_tab.c
index 050f96167f..bfbe337922 100644
--- a/src/common/cwy_tab.c
+++ b/src/common/cwy_tab.c
@@ -22,6 +22,19 @@ int yylex(void);
 int yylook(void);
 int yywrap(void);
 int yyback(int *, int);
+#if __MSL__ < 0x6000
+int read( int , char * , int ) ;
+#else
+int _read( int , void * , size_t ) ;
+#define read _read
+#endif
+#ifdef __WXMSW__
+int fileno( FILE* ) ;
+#else
+#if __MSL__ < 0x6000
+int fileno( void* ) ;
+#endif
+#endif
 
 /* You may need to put /DLEX_SCANNER in your makefile
  * if you're using LEX!