From: Jonas 'Sortie' Termansen Date: Fri, 1 Nov 2024 20:18:23 +0000 (+0100) Subject: Remove unnecessary non-standard & unportable inclusions. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3177d19fb23df50419bd44d945090bb4fcc8891;p=thirdparty%2Fbinutils-gdb.git Remove unnecessary non-standard & unportable inclusions. is not needed and not standardized and is just an alias for . is not needed and not standardized and contains a kitchen sink of various unportable definitions not agreed upon and best done manually or through other headers. These fixes are needed to compile binutils on Sortix and other operating systems with a strict POSIX.1-2024 libc without obsolete features. Signed-off-by: Jonas 'Sortie' Termansen --- diff --git a/binutils/testsuite/gentestdlls.c b/binutils/testsuite/gentestdlls.c index 805c64822b1..df60b1e341e 100644 --- a/binutils/testsuite/gentestdlls.c +++ b/binutils/testsuite/gentestdlls.c @@ -25,7 +25,6 @@ See: https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-335.pdf */ -#include #include #include #include diff --git a/libctf/ctf-create.c b/libctf/ctf-create.c index a4d8e7c2528..6d2479c8cca 100644 --- a/libctf/ctf-create.c +++ b/libctf/ctf-create.c @@ -18,7 +18,6 @@ . */ #include -#include #include #include diff --git a/libctf/ctf-impl.h b/libctf/ctf-impl.h index b40c8679c4a..2d191b0a5c9 100644 --- a/libctf/ctf-impl.h +++ b/libctf/ctf-impl.h @@ -22,7 +22,6 @@ #include "config.h" #include -#include #include "ctf-decls.h" #include #include "ctf-sha1.h"