]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove unnecessary non-standard & unportable inclusions.
authorJonas 'Sortie' Termansen <sortie@maxsi.org>
Fri, 1 Nov 2024 20:18:23 +0000 (21:18 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Fri, 28 Feb 2025 13:24:50 +0000 (13:24 +0000)
commita3177d19fb23df50419bd44d945090bb4fcc8891
tree7a1111da92ca0b9cd4c29dd41c368427ad6a3763
parent8cdf110a115c971f3184bbd30f515fd2cd6f72ef
Remove unnecessary non-standard & unportable inclusions.

<memory.h> is not needed and not standardized and is just an alias for
<string.h>.

<sys/param.h> 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 <sortie@maxsi.org>
binutils/testsuite/gentestdlls.c
libctf/ctf-create.c
libctf/ctf-impl.h