Index: third_party/perfetto/include/perfetto/ext/base/event_fd.h
--- third_party/perfetto/include/perfetto/ext/base/event_fd.h.orig
+++ third_party/perfetto/include/perfetto/ext/base/event_fd.h
@@ -58,6 +58,8 @@ class EventFd {
   // On Mac and other non-Linux UNIX platforms a pipe-based fallback is used.
   // The write end of the wakeup pipe.
   ScopedFile write_fd_;
+#else
+  ScopedFile write_fd_;
 #endif
 };
 
