diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-01-07 06:47:07 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-01-07 06:47:07 +0100 |
commit | d8b1ae38fb8b9277597983040888eb0e32400ee9 (patch) | |
tree | bbd7cca4ab8bc72b54a67ca9178d1cc288bc8e93 /logic/launch | |
parent | 59e6b4ed55403dad42b73d526683fa5e5698e3a8 (diff) | |
download | MultiMC-d8b1ae38fb8b9277597983040888eb0e32400ee9.tar MultiMC-d8b1ae38fb8b9277597983040888eb0e32400ee9.tar.gz MultiMC-d8b1ae38fb8b9277597983040888eb0e32400ee9.tar.lz MultiMC-d8b1ae38fb8b9277597983040888eb0e32400ee9.tar.xz MultiMC-d8b1ae38fb8b9277597983040888eb0e32400ee9.zip |
GH-1379 fix build on win32
Diffstat (limited to 'logic/launch')
-rw-r--r-- | logic/launch/LoggedProcess.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/launch/LoggedProcess.cpp b/logic/launch/LoggedProcess.cpp index ffdec97b..88ca40aa 100644 --- a/logic/launch/LoggedProcess.cpp +++ b/logic/launch/LoggedProcess.cpp @@ -149,6 +149,10 @@ void LoggedProcess::on_stateChange(QProcess::ProcessState state) } } +#if defined Q_OS_WIN32 +#include <windows.h> +#endif + qint64 LoggedProcess::processId() const { #ifdef Q_OS_WIN |