On Jan 17 16:32, Christopher Faylor wrote: > On Fri, Jan 17, 2014 at 02:29:45PM -0700, Warren Young wrote: > >On 1/17/2014 13:45, Aaron Humphrey wrote: > >> > >> So why does it think it > >> requires ip6.h if it compiles fine without it? > > > >It's probably an unwarranted Linuxism. > > AUL. I like it. Our ipv6 stuff is in cygwin/in6.h, which is included by cygwin/in.h, which in turn is included by netinet/in.h. We could fetch FreeBSDs netinet/ip6.h. In contrast to Glibc's netinet/ip6.h it does not include netinet/in.h but we could add that. Aaron, if you copy this file: http://svnweb.freebsd.org/base/stable/10/sys/netinet/ip6.h?revision=256281&view=co into /usr/include/netinet, and perhaps add this patch: Index: netinet/ip6.h =================================================================== RCS file: /home/ncvs/src/sys/netinet/ip6.h,v retrieving revision 1.22 diff -u -p -r1.22 ip6.h --- netinet/ip6.h 10 Apr 2013 00:26:22 -0000 1.22 +++ netinet/ip6.h 17 Jan 2014 22:18:50 -0000 @@ -64,6 +64,9 @@ #ifndef _NETINET_IP6_H_ #define _NETINET_IP6_H_ +#include +#include + /* * Definition for internet protocol version 6. * RFC 2460 can you build socat with IPv6 support out of the box and it actually works? Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat