summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-04-17 09:09:50 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-04-17 09:06:07 +0200
commitfcf8575163e5bf9ed2e69dbc21e9d8f0d716a969 (patch)
treeb011076efa4935ab81116da508c3d4001a29b0d5
parentc6449e55ff30ed746189560e3e86fc8e7ada006f (diff)
downloadqt-creator-fcf8575163e5bf9ed2e69dbc21e9d8f0d716a969.tar.gz
Fix Windows build
Change-Id: If00c202e6313402faff962398c91dbe41ad30682 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r--src/plugins/debugger/procinterrupt.cpp3
-rw-r--r--src/plugins/debugger/shared/hostutils.cpp2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/debugger/procinterrupt.cpp b/src/plugins/debugger/procinterrupt.cpp
index 31e8eb1315..9530fc0e2f 100644
--- a/src/plugins/debugger/procinterrupt.cpp
+++ b/src/plugins/debugger/procinterrupt.cpp
@@ -30,8 +30,9 @@
#include "procinterrupt.h"
#include "debuggerconstants.h"
-#include <QProcess> // makes kill visible on Windows.
+#include <QCoreApplication>
#include <QDir>
+#include <QProcess> // makes kill visible on Windows.
using namespace Debugger::Internal;
diff --git a/src/plugins/debugger/shared/hostutils.cpp b/src/plugins/debugger/shared/hostutils.cpp
index e487e73aee..a44efb0ef2 100644
--- a/src/plugins/debugger/shared/hostutils.cpp
+++ b/src/plugins/debugger/shared/hostutils.cpp
@@ -31,6 +31,8 @@
#ifdef Q_OS_WIN
+#include <QTextStream>
+
// Enable Win API of XP SP1 and later
#define _WIN32_WINNT 0x0502
#include <windows.h>