<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [GTK] Build race with -DENABLE_WAYLAND_TARGET=ON"
href="https://bugs.webkit.org/show_bug.cgi?id=146740#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - [GTK] Build race with -DENABLE_WAYLAND_TARGET=ON"
href="https://bugs.webkit.org/show_bug.cgi?id=146740">bug 146740</a>
from <span class="vcard"><a class="email" href="mailto:zan@falconsigh.net" title="Zan Dobersek <zan@falconsigh.net>"> <span class="fn">Zan Dobersek</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>