Fix compilation on Windows.

We need to include QtCore/qt_windows.h on Windows since Q_PID mapped to
_PROCESS_INFORMATION, but _PROCESS_INFORMATION not defined.

Issue:
http://code.google.com/p/phantomjs/issues/detail?id=219
1.9
Vitaliy Slobodin 2013-01-15 16:47:10 +04:00 committed by Ariya Hidayat
parent 1a487d2bbf
commit a7a3928af9
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@
#include <QObject>
#include <QProcess>
#ifdef Q_OS_WIN32
#include <QtCore/qt_windows.h>
#endif
#include "encoding.h"
/**