Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Jun 1997 22:38:32 +0000
From:      Gary Jennejohn <garyj@munich.netsurf.de>
To:        freebsd-current@freebsd.org
Subject:   Re: if.h inclusion of <sys/socket.h> 
Message-ID:  <199706012238.WAA28504@peedub.gj.org>
In-Reply-To: Your message of "Sat, 31 May 1997 20:30:37 %2B0200." <19970531203037.IM15621@uriah.heep.sax.de> 

next in thread | previous in thread | raw e-mail | index | archive | help
J Wunsch writes:
>As Garrett Wollman wrote:
>
>> > #if defined(__FreeBSD__) && __FreeBSD__>=3
>> > #include <sys/socket.h>
>> > #endif
>> > #include <net/if.h>
>> 
>> > That's horrible.
>> 
>> There is no reason for the include of <sys/socket.h> to be
>> conditional.
>
>Yep.
>

even if you're trying to support versions <= 2.1.7 ?

---
Gary Jennejohn
Home - Gary.Jennejohn@munich.netsurf.de
Work - gjennejohn@frt.dec.com





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199706012238.WAA28504>