summaryrefslogtreecommitdiff
path: root/src/io.c
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-12-10 11:41:52 -0600
committerTimo Teräs <timo.teras@iki.fi>2021-12-14 16:23:29 +0000
commitf4f7796ccc9e398b047bc537e28a065dfa83c8a9 (patch)
tree9678ab251f86e43d41e0aa6a3d7e99cf47dd5915 /src/io.c
parentb2d3d6318461344ab80abf93eda715a2783d4aa6 (diff)
downloadapk-tools-f4f7796ccc9e398b047bc537e28a065dfa83c8a9.tar.gz
apk-tools-f4f7796ccc9e398b047bc537e28a065dfa83c8a9.tar.bz2
apk-tools-f4f7796ccc9e398b047bc537e28a065dfa83c8a9.tar.xz
apk-tools-f4f7796ccc9e398b047bc537e28a065dfa83c8a9.zip
everywhere: use stdlib.h for malloc(3) definition, not GNU-specific malloc.h
musl implements support for malloc.h, but it is only a stub. we do not use any of the GNU-specific malloc interfaces, so just use POSIX stdlib.h instead. ref #10794
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index cf30bb6..8a9646a 100644
--- a/src/io.c
+++ b/src/io.c
@@ -12,7 +12,6 @@
#include <fcntl.h>
#include <endian.h>
#include <unistd.h>
-#include <malloc.h>
#include <dirent.h>
#include <stdint.h>
#include <sys/mman.h>