On Oct 9 22:48, Yaakov (Cygwin/X) wrote: > 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
Oops, *blush*. > 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? Will do. But that only helps in your case after we updated to the next Cygwin version. I guess you already added such a #define to the bind code? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat