From 507264f5bb3c121b90d3b1521be42f3fa4c7ee30 Mon Sep 17 00:00:00 2001 From: auronandace Date: Mon, 15 Jun 2026 07:49:47 +0100 Subject: [PATCH] remove redundant includes --- src/header/netdb/cbindgen.toml | 3 ++- src/header/threads/cbindgen.toml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/header/netdb/cbindgen.toml b/src/header/netdb/cbindgen.toml index be918c0426..91b183a2e3 100644 --- a/src/header/netdb/cbindgen.toml +++ b/src/header/netdb/cbindgen.toml @@ -6,8 +6,9 @@ # - "Inclusion of the header may also make visible all symbols from , , and ." # # netinet/in.h brings in sys/socket.h +# netinet/in.h brings in bits/arpainet.h bringing in inttypes.h # features.h needed for deprecated annotations -sys_includes = ["inttypes.h", "netinet/in.h", "features.h"] +sys_includes = ["netinet/in.h", "features.h"] include_guard = "_RELIBC_NETDB_H" trailer = """ #ifndef _RELIBC_BITS_NETDB_H diff --git a/src/header/threads/cbindgen.toml b/src/header/threads/cbindgen.toml index 5eedcd9937..115b6cece0 100644 --- a/src/header/threads/cbindgen.toml +++ b/src/header/threads/cbindgen.toml @@ -12,7 +12,6 @@ style = "tag" no_includes = true cpp_compat = true after_includes = """ -#include // for timespec #include // for pthread-related types #ifndef __cplusplus