[llvm] [Bazel] Fixes 412d474 (PR #194598)

via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 28 04:29:45 PDT 2026


https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/194598

This fixes 412d474f5e1dc9a931a71cf972c5415e6a025a6f.



>From 18ed614287ff176556af5d0b708cb2cd11470ad7 Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Tue, 28 Apr 2026 11:29:33 +0000
Subject: [PATCH] Fix Bazel build for 412d474

---
 .../llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel
index 52fbbb8a13a6e..46aa41ebf7129 100644
--- a/utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel
@@ -33,6 +33,7 @@ libc_test(
     srcs = ["linux/send_recv_test.cpp"],
     deps = [
         "//libc:close",
+        "//libc:hdr_sys_socket_macros",
         "//libc:recv",
         "//libc:send",
         "//libc:socketpair",
@@ -55,7 +56,9 @@ libc_test(
     srcs = ["linux/sendmsg_recvmsg_test.cpp"],
     deps = [
         "//libc:close",
+        "//libc:fcntl",
         "//libc:getsockopt",
+        "//libc:hdr_fcntl_macros",
         "//libc:hdr_sys_socket_macros",
         "//libc:llvm_libc_macros_sys_socket_macros",
         "//libc:memcpy",



More information about the llvm-commits mailing list