summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-04-09 13:00:29 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-04-09 13:02:01 +0200
commit8a4a77320639cccdffd20b30d6ab489161c71b2b (patch)
tree84fb3bd6d00b934c0a20474f0dad08b947e31570
parentd7d37a1c7f085a8b1cd74a7b816013f53eb7c383 (diff)
fcntl.h doesn't seem to exist, either - contrary to an example on msdn
-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 0ca5103bf5..ae7728e2ee 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>