diff options
Diffstat (limited to 'tools/linguist')
-rw-r--r-- | tools/linguist/shared/translator.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/linguist/shared/translator.cpp b/tools/linguist/shared/translator.cpp index 465355d..0ca5103 100644 --- a/tools/linguist/shared/translator.cpp +++ b/tools/linguist/shared/translator.cpp @@ -45,8 +45,13 @@ #include <stdio.h> #ifdef Q_OS_WIN -#include <io.h> // required for _setmode, to avoid _O_TEXT streams... -#include <fcntl.h> // for _O_BINARY +// required for _setmode, to avoid _O_TEXT streams... +# ifdef Q_OS_WINCE +# include <stdlib.h> +# else +# include <io.h> +# endif +# include <fcntl.h> // for _O_BINARY #endif #include <QtCore/QDebug> |