<div class="markdown_content"><hr />
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/patches/545">[patches:#545]</a> missing include in tcpserver</strong></p>
<p><strong>Status:</strong> open<br />
<strong>Group:</strong> bugfix<br />
<strong>Labels:</strong> w32 build <br />
<strong>Created:</strong> Wed Apr 29, 2015 09:10 PM UTC by IOhannes m zmölnig<br />
<strong>Last Updated:</strong> Wed Apr 29, 2015 09:10 PM UTC<br />
<strong>Owner:</strong> Martin Peach</p>
<p>while trying to crosscompile mrpeach/net for w32 on linux using MinGW64 i noticed two problems:</p>
<ul>
<li>
<p>tcpserver.c is missing an <code>#include <ws2tcpip.h></code> for <code>socklen_t</code> (as found in in mos t other objects, with the exception of <em><span><span>[httpreq]</span></span></em>, <em><span><span>[httpreceive]</span></span></em> and <em><span><span>[tcpsend]</span></span></em>)</p>
</li>
<li>
<p>i need to link against <code>-liphlpapi</code> to resolve <code>GetIpAddrTable</code> as used in <span>[udpsend]</span>/<span>[udpsend~]</span>.</p>
</li>
</ul>
<p>attached is a patch that fixes the first problem.</p>
<hr />
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="https://sourceforge.net/p/pure-data/patches">https://sourceforge.net/p/pure-data/patches/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/pure-data/admin/patches/options.">https://sourceforge.net/p/pure-data/admin/patches/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>