delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/26/08:25:16

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: <nhv AT cape DOT com>
From: "Norman Vine" <nhv AT cape DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Compiling irda socket code
Date: Wed, 26 Feb 2003 08:27:12 -0500
Message-ID: <EKEJIKAILPONGGENMBGAAEHECKAA.nhv@cape.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <81A52CA9CE040948809DAD901A413C14027E4BF9@seupdms001.dia.eu.pnu.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Virus-Scanned: Cape.Com VirusScan, no known virus found

Ohgren, Daniel writes:
> 
> Now i almost pinpointed my problem to:
> 
> 108:	struct sockaddr_irda {
> 109:		sa_family_t sir_family;   /* AF_IRDA */
> 110:		__u8        sir_lsap_sel; /* LSAP selector */
> 111:		__u32       sir_addr;     /* Device address */
> 112:		char        sir_name[25]; /* Usually <service>:IrDA:TinyTP
> */
> 113:	};
> 
> This snippet don't compile in Cygwin with the following output:
> 
> /usr/include/linux/irda.h:109: parse error before "sa_family_t"

> Any ideas?

A google on 'sa_family_t'  yielded this patch to distcc for Cygwin
http://lists.samba.org/pipermail/distcc/2002q3/000051.html

basically

+#ifndef HAVE_SA_FAMILY_T
+typedef int sa_family_t;
+#endif

HTH

Norman 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019