From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23616 invoked by alias); 17 Jan 2014 22:19:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23598 invoked by uid 89); 17 Jan 2014 22:19:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Jan 2014 22:19:49 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id E261B1A0C07; Fri, 17 Jan 2014 23:19:46 +0100 (CET) Date: Fri, 17 Jan 2014 22:19:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: socat with IP6 support? Message-ID: <20140117221946.GA22079@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <52D985D3.9070506@etr-usa.com> <52D9A0C9.4080508@etr-usa.com> <20140117213255.GA1843@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <20140117213255.GA1843@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-01/txt/msg00237.txt.bz2 --huq684BweRXVnRxX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1581 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. >=20 > 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=20 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=3D25628= 1&view=3Dco into /usr/include/netinet, and perhaps add this patch: Index: netinet/ip6.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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_ =20 +#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 --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --huq684BweRXVnRxX Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJS2ayCAAoJEPU2Bp2uRE+gS/oQAIH9Jd3+mI9upnW5aJIzzqn0 i6rkH87MBp3IUk8ULZ7X4B3x44+4jj2CJBUqsdGGqs/1kOuzY6gGD63D52wCo7qL 4x+Qx2OCPDCtCJ30h7ME4f+SmXV7MpmbgEFoceg4TlkvSkHkPn3VeT8+V9SNlsOH ceENhwPPA7oXWOvCMbj4vudYfrdxItmYNf3NhLP3cr5AiOVl43n/+X8vKUamWH5O 7NXvWYxPZIC/YyiHQaTTyJ7PlnVT6p8g50oDxMrSgWFeqBzg0pxn1JiDbGJSxrnK 7uDXXpbQQXb5UeuRBrUlQu/j6CLPZjj1bMAk2hsTp+X/c5oh9rcTW75hrSAHFeXY dF6mdIt32gxl5YuvGoZdmiWANBRB9xcQ3Qg7SeS/TCCMcpn0f1sCjlJNPDKNZqWy 0XyJ95i3W3+e3ZwRkUObehZxDHFmb13AyKfLjqOeRmFyR8iDs+yrEidMyXgFfZ5V nuHiW5lj1OLSRmyitRbB5EjzbcBmPGKWL/ekWgo2P7X9pezCd0DlzTDTp11fOPKH aySPDSpxQ07khLfm69ClKhJ6nLkCJ2iNOaPQ5YaFQeAHRQWtZ6md96vwlF+ofa8s JUHefjmr5H2evh3NnVk8elbMJVbQzgb+9KX9ivlerHGrG1Achg0tjqf0+1YXM0vm 89a4pGgU0nP9pyuh7Tj5 =5xav -----END PGP SIGNATURE----- --huq684BweRXVnRxX--