diff options
author | Jonas 'Sortie' Termansen <sortie@maxsi.org> | 2024-11-01 21:18:23 +0100 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2025-02-28 13:24:50 +0000 |
commit | a3177d19fb23df50419bd44d945090bb4fcc8891 (patch) | |
tree | 7a1111da92ca0b9cd4c29dd41c368427ad6a3763 /libctf/ctf-create.c | |
parent | 8cdf110a115c971f3184bbd30f515fd2cd6f72ef (diff) | |
download | binutils-a3177d19fb23df50419bd44d945090bb4fcc8891.zip binutils-a3177d19fb23df50419bd44d945090bb4fcc8891.tar.gz binutils-a3177d19fb23df50419bd44d945090bb4fcc8891.tar.bz2 |
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>
Diffstat (limited to 'libctf/ctf-create.c')
-rw-r--r-- | libctf/ctf-create.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libctf/ctf-create.c b/libctf/ctf-create.c index a4d8e7c..6d2479c 100644 --- a/libctf/ctf-create.c +++ b/libctf/ctf-create.c @@ -18,7 +18,6 @@ <http://www.gnu.org/licenses/>. */ #include <ctf-impl.h> -#include <sys/param.h> #include <string.h> #include <unistd.h> |