Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2005 14:16:22 +0800
From:      Kevin Lo <kevlo@kevlo.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: SIMPLEQ_* macros from OpenBSD sys/queue.h
Message-ID:  <1121235382.3132.0.camel@localhost.localdomain>
In-Reply-To: <42D3E8D9.6020105@xbsd.org>
References:  <42D3E8D9.6020105@xbsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Florent Thoumie wrote:
> 	I'm currently working on OpenBGPd port update and I'm facing a
> 	little problem that is actually quite painful to deal with.
> 
> 	I need some macros from OpenBSD sys/queue.h which aren't present
> 	in FreeBSD. I can replace #include <sys/queue.h> with #include
> 	"queue.h" and copy the file in the working directory but this
> 	leads to having more than 10 patches.
> 
> 	Yeah I'm using REINPLACE_CMD, but sometimes sys/queue.h is a
> 	hidden "dependency" (by hidden, I mean it's included by an
> 	included header file, and doesn't show up directly in the source
> 	file).
> 
> 	So, could somebody consider merging these SIMPLEQ_* macros or
> 	even synchronize FreeBSD and OpenBSD versions ?

Aren't those SIMPLEQ_* macros the same with FreeBSD's STAILQ_* macros?

> 	Regards.
> 
> 	Note: This could have been posted to -current, I wasn't sure
> 	which mailing list was the best.

	Kevin




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