On Tue, 2012-10-09 at 12:06 +0200, Corinna Vinschen wrote: > Why does bind include iphlpapi.h at all? As a Cygwin application it's not > supposed to use Windows and Cygwin network functions in parallel.
Because you asked me to make it so: http://www.cygwin.com/ml/cygwin-apps/2009-01/msg00097.html So I hacked the code to do exactly that: http://cygwin-ports.git.sourceforge.net/git/gitweb.cgi?p=cygwin-ports/bind;a=blob;f=9.7.1-lwconfig-win32.patch;h=d05c009 Perhaps a solution is for cygwin/in.h to #define s_addr s_addr to trigger inaddr.h's include guard? Yaakov