[libc-commits] [libc] [libc] Add missing struct_mmsghdr dependency to sys_socket (PR #200051)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Wed May 27 13:59:01 PDT 2026
https://github.com/kaladron created https://github.com/llvm/llvm-project/pull/200051
Updated libc/include/CMakeLists.txt to add .llvm-libc-types.struct_mmsghdr to the sys_socket dependency list. This ensures that the generated sys/socket.h correctly includes the struct_mmsghdr.h type header.
Assisted-by: Automated tooling, human reviewed.
>From 20c6c68b23d8feeeca25c492c73b84d7fde97567 Mon Sep 17 00:00:00 2001
From: Jeff Bailey <jbailey at raspberryginger.com>
Date: Wed, 27 May 2026 21:57:11 +0100
Subject: [PATCH] [libc] Add missing struct_mmsghdr dependency to sys_socket
Updated libc/include/CMakeLists.txt to add .llvm-libc-types.struct_mmsghdr
to the sys_socket dependency list. This ensures that the generated
sys/socket.h correctly includes the struct_mmsghdr.h type header.
Assisted-by: Automated tooling, human reviewed.
---
libc/include/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt
index 6a02241b7d6a2..f16e0d9056b23 100644
--- a/libc/include/CMakeLists.txt
+++ b/libc/include/CMakeLists.txt
@@ -789,6 +789,7 @@ add_header_macro(
.llvm-libc-types.struct_cmsghdr
.llvm-libc-types.struct_iovec
.llvm-libc-types.struct_linger
+ .llvm-libc-types.struct_mmsghdr
.llvm-libc-types.struct_msghdr
.llvm-libc-types.struct_sockaddr
.llvm-libc-types.struct_sockaddr_storage
More information about the libc-commits
mailing list