Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 1997 20:30:37 +0200
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-current@freefall.FreeBSD.org
Subject:   Re: if.h inclusion of <sys/socket.h>
Message-ID:  <19970531203037.IM15621@uriah.heep.sax.de>
In-Reply-To: <199705311756.NAA08241@khavrinen.lcs.mit.edu>; from Garrett Wollman on May 31, 1997 13:56:02 -0400
References:  <199705301551.LAA01946@khavrinen.lcs.mit.edu> <199705301601.SAA19086@gil.physik.rwth-aachen.de> <19970531182404.ES51927@uriah.heep.sax.de> <199705311756.NAA08241@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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