[libc-commits] [libc] [libc] Add IPv4 socket options and related structs (PR #204787)

Victor Campos via libc-commits libc-commits at lists.llvm.org
Mon Jun 22 06:20:00 PDT 2026


================
@@ -455,6 +455,51 @@ add_proxy_header_library(
     libc.include.netinet_in
 )
 
+add_proxy_header_library(
+  struct_ip_mreq
+  HDRS
+    struct_ip_mreq.h
+  FULL_BUILD_DEPENDS
+    libc.include.llvm-libc-types.struct_ip_mreq
+    libc.include.netinet_in
+)
+
+add_proxy_header_library(
+  struct_ip_mreq_source
+  HDRS
+    struct_ip_mreq_source.h
+  FULL_BUILD_DEPENDS
+    libc.include.llvm-libc-types.struct_ip_mreq_source
+    libc.include.netinet_in
----------------
vhscampos wrote:

Is this correct? From a quick glance it should be:

```
FULL_BUILD_DEPENDS
    libc.include.llvm-libc-types.struct_ip_mreq_source
DEPENDS
    libc.include.netinet_in
```

Same for the remaining dependency declarations

https://github.com/llvm/llvm-project/pull/204787


More information about the libc-commits mailing list