Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 1997 18:24:04 +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:  <19970531182404.ES51927@uriah.heep.sax.de>
In-Reply-To: <199705301601.SAA19086@gil.physik.rwth-aachen.de>; from Christoph Kukulies on May 30, 1997 18:00:59 %2B0200
References:  <199705301551.LAA01946@khavrinen.lcs.mit.edu> <199705301601.SAA19086@gil.physik.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
As Christoph Kukulies wrote:

> > Then bisdn should properly include <sys/socket.h> like every other
> > client of <net/if.h> does.  The former is a prerequisite for the
> > latter.
> 
> OK, Hellmuth, Gary, have you read this?

BISDN does.  It's only that we can't emit updated BISDN releases, as
you know.  It's already cleaned up in the BISDN CVS tree.

It's however tangled inside some #ifdef spagghetti currently, and
needs further cleanup.

#if defined(__NetBSD__) || defined(__OpenBSD__)
#include <sys/socket.h>
#include <sys/select.h>
#include <sys/poll.h>
#endif

#if defined(__FreeBSD__) && __FreeBSD__>=3
#include <sys/socket.h>
#endif
#include <net/if.h>

That's horrible.

-- 
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?19970531182404.ES51927>