[Webkit-unassigned] [Bug 278858] [GTK] [2.45.91] Fails to build in armhf: expected identifier before numeric constant

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 19 07:43:15 PDT 2024


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

Alberto Garcia <berto at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cgarcia at igalia.com,
                   |                            |mcatanzaro at redhat.com

--- Comment #2 from Alberto Garcia <berto at igalia.com> ---
Disabling bmalloc seems to be causing problems on armhf, see bug 279883

I managed to fix the build by changing the order of the Xlib.h include, but I still haven't checked why other architectures are not affected:

--- a/Source/WebKit/UIProcess/gtk/PointerLockManagerX11.cpp
+++ b/Source/WebKit/UIProcess/gtk/PointerLockManagerX11.cpp
@@ -29,10 +29,10 @@
 #if PLATFORM(X11)

 #include "WebPageProxy.h"
-#include <X11/Xlib.h>
 #include <gtk/gtk.h>
 #include <wtf/TZoneMallocInlines.h>
 #include <wtf/glib/GRefPtr.h>
+#include <X11/Xlib.h>

 #if USE(GTK4)
 #include <gdk/x11/gdkx.h>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240919/4baeb750/attachment.htm>


More information about the webkit-unassigned mailing list