From eed9ea35f9987f3e28ec87845c064a84f728b56f Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 30 Sep 2023 20:33:31 +0200 Subject: [ANDROID] Fix build --- src/include/debug.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/debug.h') diff --git a/src/include/debug.h b/src/include/debug.h index 5ff9e194..fa387d42 100644 --- a/src/include/debug.h +++ b/src/include/debug.h @@ -119,6 +119,8 @@ void init_malloc_hook(void); #define box_calloc calloc #define box_free free #define box_memalign memalign +#define box_strdup strdup +#define box_realpath realpath #else extern size_t(*box_malloc_usable_size)(void*); extern void* __libc_malloc(size_t); @@ -131,8 +133,8 @@ extern void* __libc_memalign(size_t, size_t); #define box_calloc __libc_calloc #define box_free __libc_free #define box_memalign __libc_memalign -#endif extern char* box_strdup(const char* s); extern char* box_realpath(const char* path, char* ret); +#endif #endif //__DEBUG_H_ -- cgit 1.4.1