void-packages/srcpkgs/chromium/patches/chromium-124-iwyu-sys-selec...

25 lines
851 B
Diff
Raw Normal View History

2024-04-23 15:55:43 +02:00
From cf993f56ce699ca0ed66ca5a6b88fe7b31c03a75 Mon Sep 17 00:00:00 2001
From: "lauren n. liberda" <lauren@selfisekai.rocks>
Date: Fri, 5 Apr 2024 06:08:21 +0200
Subject: [PATCH] iwyu: sys/select.h in terminal utils
required for fd_set. fixes building on musl libc
Change-Id: I5c03d58c8337c1af871024a436b09117ad9206d4
---
src/tint/utils/system/terminal_posix.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/third_party/dawn/src/tint/utils/system/terminal_posix.cc b/third_party/dawn/src/tint/utils/system/terminal_posix.cc
index e820774244..a97eab7db8 100644
--- a/third_party/dawn/src/tint/utils/system/terminal_posix.cc
+++ b/third_party/dawn/src/tint/utils/system/terminal_posix.cc
@@ -27,6 +27,7 @@
// GEN_BUILD:CONDITION(tint_build_is_linux || tint_build_is_mac)
+#include <sys/select.h>
#include <unistd.h>
#include <termios.h>