From: Jaco Kroon Date: Mon, 4 May 2020 08:29:44 +0000 (+0200) Subject: Remove #include X-Git-Tag: 17.5.0-rc1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a703e5498b813605cf8fc3e2ca012fed54205dd0;p=thirdparty%2Fasterisk.git Remove #include These are not provided by standards, and as a result causes failure to compile on musl. https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E Change-Id: I6a357cefd106c72cfecafd898638f6b5692c2e05 --- diff --git a/main/ast_expr2.c b/main/ast_expr2.c index b7b45dae9c..5b8f6e8b78 100644 --- a/main/ast_expr2.c +++ b/main/ast_expr2.c @@ -94,7 +94,6 @@ #define ASTMM_LIBC ASTMM_REDIRECT #include "asterisk.h" -#include #include #include diff --git a/main/ast_expr2.y b/main/ast_expr2.y index 144df571f4..b0b257d66a 100644 --- a/main/ast_expr2.y +++ b/main/ast_expr2.y @@ -15,7 +15,6 @@ #define ASTMM_LIBC ASTMM_REDIRECT #include "asterisk.h" -#include #include #include diff --git a/utils/db1-ast/include/db.h b/utils/db1-ast/include/db.h index 23b9b9575c..30f73e2d4e 100644 --- a/utils/db1-ast/include/db.h +++ b/utils/db1-ast/include/db.h @@ -37,7 +37,6 @@ #define _DB_H 1 #include -#include #include