<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8417">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_unistim: NetBSD has an incompatible struct in_pktinfo.<br><br>ASTERISK-27714<br>Reported by: John Nemeth<br><br>Change-Id: I1b84a89315a5f61222123d21bf35c59224da8990<br>---<br>M channels/chan_unistim.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/17/8417/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c<br>index 9d4c453..28d84ee 100644<br>--- a/channels/chan_unistim.c<br>+++ b/channels/chan_unistim.c<br>@@ -41,7 +41,7 @@<br> #include <sys/stat.h><br> #include <signal.h><br> <br>-#if defined(__CYGWIN__)<br>+#if defined(__CYGWIN__) || defined(__NetBSD__)<br> /*<br> * cygwin headers are partly inconsistent. struct iovec is defined in sys/uio.h<br> * which is not included by default by sys/socket.h - in_pktinfo is defined in<br>@@ -53,7 +53,7 @@<br> #ifdef HAVE_PKTINFO<br> #undef HAVE_PKTINFO<br> #endif<br>-#endif /* __CYGWIN__ */<br>+#endif /* __CYGWIN__ || __NetBSD__ */<br> <br> #include "asterisk/paths.h" /* ast_config_AST_LOG_DIR used in (too ?) many places */<br> #include "asterisk/network.h"<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8417">change 8417</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/8417"/><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: I1b84a89315a5f61222123d21bf35c59224da8990 </div>
<div style="display:none"> Gerrit-Change-Number: 8417 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>