Title: [121222] trunk/Source/WebKit2
Revision
121222
Author
[email protected]
Date
2012-06-25 20:46:14 -0700 (Mon, 25 Jun 2012)

Log Message

[EFL][WK2] Include unistd.h in PlatformProcessIdentifier.h.
https://bugs.webkit.org/show_bug.cgi?id=89804

Reviewed by Hajime Morita.

The pid_t typedef ends up coming from stdlib.h (indirectly via WTF
includes) on Mac and Linux, even though that is not mandated by
POSIX and breaks other platforms (such as FreeBSD). Fix that by
explicitly including unistd.h, which is where the typedef is
supposed to come from.

* Platform/PlatformProcessIdentifier.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (121221 => 121222)


--- trunk/Source/WebKit2/ChangeLog	2012-06-26 03:41:27 UTC (rev 121221)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-26 03:46:14 UTC (rev 121222)
@@ -1,3 +1,18 @@
+2012-06-25  Raphael Kubo da Costa  <[email protected]>
+
+        [EFL][WK2] Include unistd.h in PlatformProcessIdentifier.h.
+        https://bugs.webkit.org/show_bug.cgi?id=89804
+
+        Reviewed by Hajime Morita.
+
+        The pid_t typedef ends up coming from stdlib.h (indirectly via WTF
+        includes) on Mac and Linux, even though that is not mandated by
+        POSIX and breaks other platforms (such as FreeBSD). Fix that by
+        explicitly including unistd.h, which is where the typedef is
+        supposed to come from.
+
+        * Platform/PlatformProcessIdentifier.h:
+
 2012-06-25  YoungTaeck Song  <[email protected]>
 
         [WK2][Qt][EFL] Extract common code from LayerTreeHostQt

Modified: trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h (121221 => 121222)


--- trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h	2012-06-26 03:41:27 UTC (rev 121221)
+++ trunk/Source/WebKit2/Platform/PlatformProcessIdentifier.h	2012-06-26 03:46:14 UTC (rev 121222)
@@ -29,6 +29,8 @@
 
 #if PLATFORM(QT)
 class QProcess;
+#elif PLATFORM(EFL)
+#include <unistd.h>
 #endif
 
 namespace WebKit {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to