X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=RQxAJUUFRZRkApQHiCUZFcRiY0rEgxU0DRG7+DRrMYQSeihs5KRrD RONlXe2XY0G0G5ZyU+D/9OiHdvNBzNhkB4xj8iIwSFMfQhy5MeiuQ2NOfg3uO2oO FSsT9n+PqITfXgfIGg5p6SJzzG5jZHEKpOVhkx6KDS7W+ruRJTXoFQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=JxgbDykZOqVj1x6DQM09qf8Gtdc=; b=nv8ea9etYCe5E/7JT8c0SbU6LljQ oImtAm6NvjfrzS3LYcYqgnWSGFt0xgCPh8ExxxMWtkElzKNCs1kn6vHKjtZmd7ho 8yqqbXfjcGhif9eOixxX3Mpotuoniu3bdmpC+1qf2n1FudIFiMOTflgDhWBR5lNb hgmCIat8pSRqjSU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Fri, 17 Jan 2014 23:19:46 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: socat with IP6 support? Message-ID: <20140117221946.GA22079@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <52D985D3 DOT 9070506 AT etr-usa DOT com> <52D9A0C9 DOT 4080508 AT etr-usa DOT com> <20140117213255 DOT GA1843 AT ednor DOT casa DOT cgf DOT 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) --huq684BweRXVnRxX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--