1--- src/3rdparty/chromium/third_party/wayland/BUILD.gn.orig	2025-08-15 18:30:00 UTC
2+++ src/3rdparty/chromium/third_party/wayland/BUILD.gn
3@@ -24,6 +24,11 @@ if (!use_system_libwayland) {
4       "src/src",
5     ]
6
7+    if (is_bsd) {
8+      include_dirs += [ "/usr/local/include/libepoll-shim" ]
9+      libs = [ "epoll-shim" ]
10+    }
11+
12     # Client/Server headers are automatically generated. Though, we still need
13     # to pass the path where these headers are located.
14     include_dirs += [ "$root_gen_dir/third_party/wayland/src/protocol" ]
15