diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-04-13 14:36:31 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-04-13 14:09:24 +0000 |
commit | f24e674832bd678d22906e37be89c0e9017b7f65 (patch) | |
tree | 56c5be74e10f12796de6fba48e5f41b8a01aee26 | |
parent | b050d18a02969cc978f1555e39f33435952cd3f3 (diff) |
Include io.h for setmode on windows
Change-Id: Id993204f2a0be67edf5d29a9400fb71d63774887
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
-rw-r--r-- | app/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/main.cpp b/app/main.cpp index 4b0e6a6..242676a 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -37,7 +37,10 @@ #include <QTcpSocket> #include <limits> +#ifdef Q_OS_WIN +#include <io.h> #include <fcntl.h> +#endif enum ErrorCodes { NoError, |