From: Alexander Traud Date: Wed, 22 Apr 2020 17:38:13 +0000 (+0200) Subject: app_fax: SpanDSP headers do not use ast_malloc; ignore that. X-Git-Tag: 18.0.0-rc1~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26b8c999632b24a3e781b692a7f0d7582d180fdd;p=thirdparty%2Fasterisk.git 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 --- 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