---
** [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@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.