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/