RE: sys/socket.h problem in Cygwin

2003-08-14 Thread Jack_Goral
Thanks. -Original Message- From: Corinna Vinschen [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:05 AM To: [EMAIL PROTECTED] Subject: Re: sys/socket.h problem in Cygwin On Thu, Aug 14, 2003 at 07:44:43AM -0700, [EMAIL PROTECTED] wrote: > sys/socket.h includes cygwin/socket.

sys/socket.h problem in Cygwin

2003-08-14 Thread Jack_Goral
sys/socket.h includes cygwin/socket.h, this includes asm/socket.h which includes cygwin/if.h. This way "struct sockaddr_in" is not there because it is defined in cygwin/in.h not cygwin/if.h. Because of that I must do: #include #include instead of only: #include Is this a bug in Cygwin in