From 83dce0a5fe03e6ee78d5d371f0183066e360f215 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Fri, 1 Nov 2024 21:18:23 +0100 Subject: [PATCH] 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 --- binutils/testsuite/gentestdlls.c | 1 - libctf/ctf-create.c | 1 - libctf/ctf-impl.h | 1 - 3 files changed, 3 deletions(-) diff --git a/binutils/testsuite/gentestdlls.c b/binutils/testsuite/gentestdlls.c index 01e61d7c7f2..ec7d88be1d0 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 0c8959a997e..c28b77140c0 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 6373ecb7a79..345eff41dd2 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" -- 2.45.2