[libc-commits] [libc] [libc] Add a proxy header for sa_family_t (PR #207736)

Pavel Labath via libc-commits libc-commits at lists.llvm.org
Tue Jul 7 08:53:31 PDT 2026


================
@@ -12,6 +12,8 @@
 //===----------------------------------------------------------------------===//
 
 #include "hdr/sys_socket_macros.h"
+#include "hdr/types/sa_family_t.h"
+#include "hdr/types/socklen_t.h"
----------------
labath wrote:

It's a drive-by IWYU change (the file uses socklen_t, but does not include the corresponding header). It could be reverted or landed separately, but I thought this PR is simple enough to put it in here.

I'll add that to the PR description. Let me know if you'd prefer to leave it out instead.

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


More information about the libc-commits mailing list