Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: abcbe9daebcc801fad25a4ac02b639ae82c77210
      
https://github.com/WebKit/WebKit/commit/abcbe9daebcc801fad25a4ac02b639ae82c77210
  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:
  -----------
  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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to