Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 0c8e555dc9280071a4bc0d05af2f85a78ddc6a8a
https://github.com/WebKit/WebKit/commit/0c8e555dc9280071a4bc0d05af2f85a78ddc6a8a
Author: Adrian Perez de Castro <[email protected]>
Date: 2026-01-26 (Mon, 26 Jan 2026)
Changed paths:
M Source/WTF/wtf/glib/RunLoopGLib.cpp
Log Message:
-----------
Cherry-pick 306189@main (abcbe9daebcc).
https://bugs.webkit.org/show_bug.cgi?id=306188
REGRESSION(304553@main): [WPE] Cannot build on Android due to 'close' being
undefined
https://bugs.webkit.org/show_bug.cgi?id=306188
Reviewed by Carlos Garcia Campos.
Support for using timerfd was added in 304553@main, but the code
contains a close() call without including the needed <unistd.h> header.
With the Glibc and Musl C libraries this is not an issue because the
header gets included transitively; but that is not the case with Bionic,
the Android C library. Including the header is the correct thing to do.
* Source/WTF/wtf/glib/RunLoopGLib.cpp: Add missing <unistd.h> inclusion
along with the rest of headers needed to use timerfd.
Canonical link: https://commits.webkit.org/306189@main
Canonical link: https://commits.webkit.org/305877.14@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications