<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/9287">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_ooh323: IPTOS_MINCOST is not defined on Solaris.<br><br>Furthermore, <sys/sockio.h> is required for SIOCGIF*.<br><br>ASTERISK-27938<br><br>Change-Id: Idc9153ece769944765b66122efb11728d8d8ebde<br>---<br>M addons/chan_ooh323.c<br>M addons/ooh323c/src/ooSocket.c<br>2 files changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/87/9287/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c<br>index ac6d808..79e9362 100644<br>--- a/addons/chan_ooh323.c<br>+++ b/addons/chan_ooh323.c<br>@@ -3045,7 +3045,11 @@<br>                    else if (!strcasecmp(v->value, "reliability"))<br>                           gTOS = IPTOS_RELIABILITY;<br>                     else if (!strcasecmp(v->value, "mincost"))<br>+#ifdef IPTOS_MINCOST<br>                                gTOS = IPTOS_MINCOST;<br>+#else<br>+                                gTOS = 0x02;<br>+#endif<br>                         else if (!strcasecmp(v->value, "none"))<br>                          gTOS = 0;<br>                     else<br>diff --git a/addons/ooh323c/src/ooSocket.c b/addons/ooh323c/src/ooSocket.c<br>index 1a6a7db..55bb0ac 100644<br>--- a/addons/ooh323c/src/ooSocket.c<br>+++ b/addons/ooh323c/src/ooSocket.c<br>@@ -15,6 +15,10 @@<br>  *****************************************************************************/<br> #include "asterisk.h"<br> <br>+#ifdef SOLARIS<br>+#include <sys/sockio.h><br>+#endif<br>+<br> #include "asterisk/io.h"<br> #include "asterisk/lock.h"<br> #include "asterisk/utils.h"<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/9287">change 9287</a>. To unsubscribe, 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/9287"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 15 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Idc9153ece769944765b66122efb11728d8d8ebde </div>
<div style="display:none"> Gerrit-Change-Number: 9287 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>