summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-04-09 11:00:29 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-04-09 11:02:01 (GMT)
commit8a4a77320639cccdffd20b30d6ab489161c71b2b (patch)
tree84fb3bd6d00b934c0a20474f0dad08b947e31570 /tools
parentd7d37a1c7f085a8b1cd74a7b816013f53eb7c383 (diff)
downloadQt-8a4a77320639cccdffd20b30d6ab489161c71b2b.zip
Qt-8a4a77320639cccdffd20b30d6ab489161c71b2b.tar.gz
Qt-8a4a77320639cccdffd20b30d6ab489161c71b2b.tar.bz2
fcntl.h doesn't seem to exist, either - contrary to an example on msdn
Diffstat (limited to 'tools')
-rw-r--r--tools/linguist/shared/translator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/linguist/shared/translator.cpp b/tools/linguist/shared/translator.cpp
index 0ca5103..ae7728e 100644
--- a/tools/linguist/shared/translator.cpp
+++ b/tools/linguist/shared/translator.cpp
@@ -49,9 +49,9 @@
# ifdef Q_OS_WINCE
# include <stdlib.h>
# else
-# include <io.h>
+# include <io.h> // for _setmode
+# include <fcntl.h> // for _O_BINARY
# endif
-# include <fcntl.h> // for _O_BINARY
#endif
#include <QtCore/QDebug>