Fix Windows build

Change-Id: If00c202e6313402faff962398c91dbe41ad30682
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Orgad Shaneh
2013-04-17 09:09:50 +03:00
committed by Orgad Shaneh
parent c6449e55ff
commit fcf8575163
2 changed files with 4 additions and 1 deletions

View File

@@ -30,8 +30,9 @@
#include "procinterrupt.h" #include "procinterrupt.h"
#include "debuggerconstants.h" #include "debuggerconstants.h"
#include <QProcess> // makes kill visible on Windows. #include <QCoreApplication>
#include <QDir> #include <QDir>
#include <QProcess> // makes kill visible on Windows.
using namespace Debugger::Internal; using namespace Debugger::Internal;

View File

@@ -31,6 +31,8 @@
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#include <QTextStream>
// Enable Win API of XP SP1 and later // Enable Win API of XP SP1 and later
#define _WIN32_WINNT 0x0502 #define _WIN32_WINNT 0x0502
#include <windows.h> #include <windows.h>