mirror of https://github.com/vitalif/phantomjs
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=2191.9
parent
1a487d2bbf
commit
a7a3928af9
|
@ -33,6 +33,10 @@
|
|||
#include <QObject>
|
||||
#include <QProcess>
|
||||
|
||||
#ifdef Q_OS_WIN32
|
||||
#include <QtCore/qt_windows.h>
|
||||
#endif
|
||||
|
||||
#include "encoding.h"
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue