Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2007 15:05:39 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Fredrik Lindberg <fli@shapeshifter.se>
Cc:        Perforce Change Reviews <perforce@freebsd.org>, Ivan Voras <ivoras@gmail.com>
Subject:   Re: PERFORCE change 119527 for review
Message-ID:  <200705091505.39795.jhb@freebsd.org>
In-Reply-To: <4641E19F.80809@shapeshifter.se>
References:  <200705082229.l48MTrbh069129@repoman.freebsd.org> <9bbcef730705090710h653dc15bjb7a1159484c1c48b@mail.gmail.com> <4641E19F.80809@shapeshifter.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 09 May 2007 10:58:39 am Fredrik Lindberg wrote:
> Ivan Voras wrote:
> > On 09/05/07, Fredrik Lindberg <fli@shapeshifter.se> wrote:
> > 
> >> Ok, I'll take a look at the various queue.h shipped with the major BSDs,
> >> and see if I can find a common subset that suits my needs (without too
> >> many compromises) and based on the findings I'll reconsider my choice.
> > 
> > I use sys/queue.h in my userland applications all the time, there's no
> > problem there.
> > 
> 
> And it works on {Net,Open}BSD?, I could swear that I've been bitten by
> sys/queue.h in the past when moving stuff between FreeBSD and NetBSD.
> Could have been those TAILQ-macros Robert Watson talked about though.

Just include your own copy of sys/queue.h for systems whose queue.h isn't up 
to snuff.  You don't have to use the OS-native one, it's ok to carry one 
around, but then you have one less copy of the wheel.

-- 
John Baldwin



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