[Webkit-unassigned] [Bug 146740] [GTK] Build race with -DENABLE_WAYLAND_TARGET=ON

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 8 22:53:46 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=146740

--- Comment #8 from Zan Dobersek <zan at falconsigh.net> ---
I hit this error too, but the PlatformDisplayWayland.h header (which includes WebKitGtkWaylandClientProtocol.h) wasn't included from PlatformDisplay.cpp, but from some other file in a library other than libWebCorePlatformGTK.

The simplest solution is to move the WebKitGtkWaylandClientProtocol.h header inclusion into the PlatformDisplayWayland.cpp file, and use a forward declaration for the wl_webkitgtk struct in the header.

On a side note, PlatformDisplayX11.cpp is built into libWebCore, while PlatformDisplay.cpp and PlatformDisplayWayland.cpp are built into libWebCorePlatformGTK. Would be nice to build these into the same library if possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150709/e0dc6b64/attachment.html>


More information about the webkit-unassigned mailing list