Permalink
Browse files

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
  • Loading branch information...
1 parent 1a487d2 commit a7a3928af9e787be384967688805514f8887c039 @Vitallium Vitallium committed with Jan 15, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/childprocess.h
View
@@ -33,6 +33,10 @@
#include <QObject>
#include <QProcess>
+#ifdef Q_OS_WIN32
+#include <QtCore/qt_windows.h>
+#endif
+
#include "encoding.h"
/**

0 comments on commit a7a3928

Please sign in to comment.