Title: [116352] trunk
Revision
116352
Author
alexis.men...@openbossa.org
Date
2012-05-07 13:41:52 -0700 (Mon, 07 May 2012)

Log Message

Unreviewed Qt build fix in Debug.

We need some system includes here for getpid() to be recognized.

Source/WebKit2:

* qt/MainQt.cpp:

Tools:

* WebKitTestRunner/qt/main.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (116351 => 116352)


--- trunk/Source/WebKit2/ChangeLog	2012-05-07 20:40:51 UTC (rev 116351)
+++ trunk/Source/WebKit2/ChangeLog	2012-05-07 20:41:52 UTC (rev 116352)
@@ -1,3 +1,11 @@
+2012-05-07  Alexis Menard  <alexis.men...@openbossa.org>
+
+        Unreviewed Qt build fix in Debug.
+
+        We need some system includes here for getpid() to be recognized.
+
+        * qt/MainQt.cpp:
+
 2012-05-07  Sheriff Bot  <webkit.review....@gmail.com>
 
         Unreviewed, rolling out r116299, r116301, and r116303.

Modified: trunk/Source/WebKit2/qt/MainQt.cpp (116351 => 116352)


--- trunk/Source/WebKit2/qt/MainQt.cpp	2012-05-07 20:40:51 UTC (rev 116351)
+++ trunk/Source/WebKit2/qt/MainQt.cpp	2012-05-07 20:41:52 UTC (rev 116352)
@@ -27,6 +27,9 @@
 #include <QApplication>
 
 #include <stdio.h>
+#if !defined(NDEBUG) && defined(Q_OS_UNIX)
+#include <unistd.h>
+#endif
 
 namespace WebKit {
 Q_DECL_IMPORT int WebProcessMainQt(QGuiApplication*);

Modified: trunk/Tools/ChangeLog (116351 => 116352)


--- trunk/Tools/ChangeLog	2012-05-07 20:40:51 UTC (rev 116351)
+++ trunk/Tools/ChangeLog	2012-05-07 20:41:52 UTC (rev 116352)
@@ -1,3 +1,11 @@
+2012-05-07  Alexis Menard  <alexis.men...@openbossa.org>
+
+        Unreviewed Qt build fix in Debug.
+
+        We need some system includes here for getpid() to be recognized.
+
+        * WebKitTestRunner/qt/main.cpp:
+
 2012-05-07  Ojan Vafai  <o...@chromium.org>
 
         When embedding the flakiness dashboard, hide popups when the frame is blurred.

Modified: trunk/Tools/WebKitTestRunner/qt/main.cpp (116351 => 116352)


--- trunk/Tools/WebKitTestRunner/qt/main.cpp	2012-05-07 20:40:51 UTC (rev 116351)
+++ trunk/Tools/WebKitTestRunner/qt/main.cpp	2012-05-07 20:41:52 UTC (rev 116352)
@@ -30,6 +30,9 @@
 #include "qquickwebview_p.h"
 
 #include <stdio.h>
+#if !defined(NDEBUG) && defined(Q_OS_UNIX)
+#include <unistd.h>
+#endif
 
 #include <QApplication>
 #include <QObject>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to