From 26b8c999632b24a3e781b692a7f0d7582d180fdd Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Wed, 22 Apr 2020 19:38:13 +0200 Subject: [PATCH] app_fax: SpanDSP headers do not use ast_malloc; ignore that. Since Asterisk 14, app_fax did not compile at all because Asterisk requires that not malloc but ast_malloc is used everywhere. However, the system headers of SpanDSP use malloc. Because we cannot (and do not need to) change system headers, let us ignore this. ASTERISK-28848 Change-Id: I31f7a6b92a07032c5cef1c16b8901b107fe35546 --- apps/app_fax.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/app_fax.c b/apps/app_fax.c index c5d0f514bb..d9b0a3586f 100644 --- a/apps/app_fax.c +++ b/apps/app_fax.c @@ -20,6 +20,8 @@ res_fax ***/ +/* Needed for spandsp headers */ +#define ASTMM_LIBC ASTMM_IGNORE #include "asterisk.h" #include