From 3d9f425238c5ef836a1cb92af827ce978e74f37b Mon Sep 17 00:00:00 2001 From: "rakuco@webkit.org" Date: Tue, 26 Jun 2012 03:46:14 +0000 Subject: [PATCH] [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: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121222 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- Source/WebKit2/ChangeLog | 15 +++++++++++++++ Source/WebKit2/Platform/PlatformProcessIdentifier.h | 2 ++ 2 files changed, 17 insertions(+) diff --git a/Source/WebKit2/ChangeLog b/Source/WebKit2/ChangeLog index 92c4be8..09f87b6 100644 --- a/Source/WebKit2/ChangeLog +++ b/Source/WebKit2/ChangeLog @@ -1,3 +1,18 @@ +2012-06-25 Raphael Kubo da Costa + + [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 [WK2][Qt][EFL] Extract common code from LayerTreeHostQt diff --git a/Source/WebKit2/Platform/PlatformProcessIdentifier.h b/Source/WebKit2/Platform/PlatformProcessIdentifier.h index 9cafd32..96ecbe8 100644 --- a/Source/WebKit2/Platform/PlatformProcessIdentifier.h +++ b/Source/WebKit2/Platform/PlatformProcessIdentifier.h @@ -29,6 +29,8 @@ #if PLATFORM(QT) class QProcess; +#elif PLATFORM(EFL) +#include #endif namespace WebKit { -- 2.7.4