This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: mingw64-{headers,runtime,winpthreads} w32api-* 3.3.0-1


On 2014-11-24 06:34, JonY wrote:
Notable changes:
* netioapi.h now includes ws2ipdef.h.

This change breaks the build of bind. bind includes its own resolver code (lwres), which is patched to use the win32 backend as a fallback to /etc/resolv.conf (just like Cygwin's libresolv does). The win32 code has an #include <iphlpapi.h> for GetNetworkParams, which #include <netioapi.h>. The compile now fails because <ws2ipdef.h> uses ADDRESS_FAMILY which is typedef'd in <winsock2.h> but not included. Furthermore, we don't *want* to include winsock2 headers in a Cygwin program because they conflict with the *NIX socket headers.

--
Yaakov


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]