[EFL][WK2] Include unistd.h in PlatformProcessIdentifier.h.
authorrakuco@webkit.org <rakuco@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Jun 2012 03:46:14 +0000 (03:46 +0000)
committerrakuco@webkit.org <rakuco@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Jun 2012 03:46:14 +0000 (03:46 +0000)
commit3d9f425238c5ef836a1cb92af827ce978e74f37b
tree28da667fa99fa3e4acb61cab70b4a72ffd1c8252
parenteb2842ab45f8427d0c084c8c9983eb66bf669059
[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
Source/WebKit2/Platform/PlatformProcessIdentifier.h