summaryrefslogtreecommitdiff
path: root/src/io_gunzip.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 20:59:54 +0200
commitbf659c82465860b58b1ef8fee5cd8b6c3cade2a5 (patch)
tree3a14cac2efd6136e27edf720d2787701436c99e7 /src/io_gunzip.c
parent676c0a40a66e3488c803fe7ddbfb50a33a52fb21 (diff)
downloadapk-tools-bf659c82465860b58b1ef8fee5cd8b6c3cade2a5.tar.gz
apk-tools-bf659c82465860b58b1ef8fee5cd8b6c3cade2a5.tar.bz2
apk-tools-bf659c82465860b58b1ef8fee5cd8b6c3cade2a5.tar.xz
apk-tools-bf659c82465860b58b1ef8fee5cd8b6c3cade2a5.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_gunzip.c')
-rw-r--r--src/io_gunzip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/io_gunzip.c b/src/io_gunzip.c
index 554a95a..9ffc060 100644
--- a/src/io_gunzip.c
+++ b/src/io_gunzip.c
@@ -10,7 +10,6 @@
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
-#include <malloc.h>
#include <zlib.h>
#include "apk_defines.h"