summaryrefslogtreecommitdiff
path: root/src/blob.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/blob.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/blob.c')
-rw-r--r--src/blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.c b/src/blob.c
index 1a63686..58325b8 100644
--- a/src/blob.c
+++ b/src/blob.c
@@ -7,7 +7,7 @@
* SPDX-License-Identifier: GPL-2.0-only
*/
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdint.h>