<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14390">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Remove #include <sys/cdefs.h><br><br>These are not provided by standards, and as a result causes failure to<br>compile on musl.<br><br>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<br><br>Change-Id: I6a357cefd106c72cfecafd898638f6b5692c2e05<br>---<br>M main/ast_expr2.c<br>M main/ast_expr2.y<br>M utils/db1-ast/include/db.h<br>3 files changed, 0 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/ast_expr2.c b/main/ast_expr2.c</span><br><span>index b7b45da..5b8f6e8 100644</span><br><span>--- a/main/ast_expr2.c</span><br><span>+++ b/main/ast_expr2.c</span><br><span>@@ -94,7 +94,6 @@</span><br><span> #define ASTMM_LIBC ASTMM_REDIRECT</span><br><span> #include "asterisk.h"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#include <sys/cdefs.h></span><br><span> #include <sys/types.h></span><br><span> #include <stdio.h></span><br><span> </span><br><span>diff --git a/main/ast_expr2.y b/main/ast_expr2.y</span><br><span>index 144df57..b0b257d 100644</span><br><span>--- a/main/ast_expr2.y</span><br><span>+++ b/main/ast_expr2.y</span><br><span>@@ -15,7 +15,6 @@</span><br><span> #define ASTMM_LIBC ASTMM_REDIRECT</span><br><span> #include "asterisk.h"</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#include <sys/cdefs.h></span><br><span> #include <sys/types.h></span><br><span> #include <stdio.h></span><br><span> </span><br><span>diff --git a/utils/db1-ast/include/db.h b/utils/db1-ast/include/db.h</span><br><span>index 23b9b95..30f73e2 100644</span><br><span>--- a/utils/db1-ast/include/db.h</span><br><span>+++ b/utils/db1-ast/include/db.h</span><br><span>@@ -37,7 +37,6 @@</span><br><span> #define        _DB_H 1</span><br><span> </span><br><span> #include <sys/types.h></span><br><span style="color: hsl(0, 100%, 40%);">-#include <sys/cdefs.h></span><br><span> </span><br><span> #include <limits.h></span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/14390">change 14390</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/c/asterisk/+/14390"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I6a357cefd106c72cfecafd898638f6b5692c2e05 </div>
<div style="display:none"> Gerrit-Change-Number: 14390 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jaco Kroon <jaco@uls.co.za> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>