0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 09:28:54 +00:00
termux-packages/packages/liblog4c/src-sd-malloc.h.patch
Tee KOBAYASHI 282ab08c77 liblog4c: Fix implicit declaration of function
declared in system `<malloc.h>`.

%ci:no-build
2023-04-11 12:08:41 +09:00

12 lines
219 B
Diff

--- a/src/sd/malloc.h
+++ b/src/sd/malloc.h
@@ -8,6 +8,8 @@
#ifndef __sd_malloc_h
#define __sd_malloc_h
+#include_next <malloc.h>
+#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <sd/defs.h>