[PD-dev] [pure-data:patches] #545 missing include in tcpserver

IOhannes m zmölnig zmoelnig at users.sf.net
Wed Apr 29 23:10:39 CEST 2015


** [patches:#545] missing include in tcpserver**

**Status:** open
**Group:** bugfix
**Labels:** w32 build 
**Created:** Wed Apr 29, 2015 09:10 PM UTC by IOhannes m zmölnig
**Last Updated:** Wed Apr 29, 2015 09:10 PM UTC
**Owner:** Martin Peach

while trying to crosscompile mrpeach/net for w32 on linux using MinGW64 i noticed two problems:

- tcpserver.c is missing an `#include <ws2tcpip.h>` for `socklen_t` (as found in in mos t other objects, with the exception of *[httpreq]*, *[httpreceive]* and *[tcpsend]*)

- i need to link against `-liphlpapi` to resolve `GetIpAddrTable` as used in [udpsend]/[udpsend~].

attached is a patch that fixes the first problem.


Sent from sourceforge.net because pd-dev at lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20150429/e6074938/attachment.html>

More information about the Pd-dev mailing list