Merge branch 'remove-redundant-includes' into 'master'

remove redundant includes

See merge request redox-os/relibc!1462
This commit is contained in:
Mathew John Roberts
2026-06-15 12:33:33 +01:00
2 changed files with 2 additions and 2 deletions
+2 -1
View File
@@ -6,8 +6,9 @@
# - "Inclusion of the <netdb.h> header may also make visible all symbols from <netinet/in.h>, <sys/socket.h>, and <inttypes.h>."
#
# 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
-1
View File
@@ -12,7 +12,6 @@ style = "tag"
no_includes = true
cpp_compat = true
after_includes = """
#include <bits/timespec.h> // for timespec
#include <bits/pthread.h> // for pthread-related types
#ifndef __cplusplus