<p>Sean Bright would like Jaco Kroon to <strong>review</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/14340">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/40/14340/1</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/+/14340">change 14340</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/+/14340"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I6a357cefd106c72cfecafd898638f6b5692c2e05 </div>
<div style="display:none"> Gerrit-Change-Number: 14340 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sean Bright <sean.bright@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jaco Kroon <jaco@uls.co.za> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>