sys/queue.h
Ben Lindstrom
mouring at etoh.eviladmin.org
Tue Mar 12 14:47:54 EST 2002
On Mon, 11 Mar 2002, Kevin Steves wrote:
> On Mon, 11 Mar 2002, Frank Cusack wrote:
> :> hmm. is this a symbol clash or does that include sys/queue.h?
> :>
> :> if the latter, is their queue.h #ifdef protected? i'm thinking of:
> :>
> :> defines.h:
> :>
> :> #define _SYS_QUEUE_H_
> :> #include <netinet/in.h> /* For IPv6 macros */
> :> #undef _SYS_QUEUE_H_
> :
> :That seems bad; if netinet/in.h includes sys/queue.h it's because it
> :needs definitions there.
>
> maybe, or perhaps it's a defect. someone familiar with BSDOS needs to
> chime in here.
>
> :Instead, just include openssh's sys/queue.h
> :before netinet/in.h, and #define the appropriate macro.
>
> i'm not sure, as i may make diff audits more tedious. have you ever diff'd
> all of native against portable? welcome to my world.
>
>
I can agree with you there.. I've done a few.. Not top on my list of
fun ways to spend an evening. =)
But also a good time to look at the code and go, "is there a better
way of doing this without all this hacking".
- Ben
More information about the openssh-unix-dev
mailing list