--- device/gamepad/BUILD.gn.orig	2025-10-21 20:19:54 UTC
+++ device/gamepad/BUILD.gn
@@ -105,7 +105,7 @@ component("gamepad") {
       "hid_writer_linux.cc",
       "hid_writer_linux.h",
     ]
-    if (use_udev) {
+    if (use_udev && !is_bsd) {
       sources += [
         "gamepad_device_linux.cc",
         "gamepad_device_linux.h",
