Re: #include struct.h in sys/queue.h

2000-10-05 Thread Bruce Evans
On Tue, 3 Oct 2000, Jeffrey Hsu wrote: I think struct.h should have been removed when offsetof() became standard. At last count, offsetof() is defined in 11 different places in the kernel: alpha/alpha/machdep.c, line 234 ... Some other places include stddef.h. If we unify it

Re: #include struct.h in sys/queue.h

2000-10-03 Thread Jeffrey Hsu
I think struct.h should have been removed when offsetof() became standard. At last count, offsetof() is defined in 11 different places in the kernel: alpha/alpha/machdep.c, line 234 dev/sym/sym_hipd.c, line 347 i386/i386/machdep.c, line 246 kern/sysv_sem.c, line 110

#include struct.h in sys/queue.h

2000-10-02 Thread Poul-Henning Kamp
error before `_' This is because there is a file called "struct.h" in the ircII distribution. The addition of #include struct.h to sys/queue.h looks a bit unsettling to me: A sys/* file shouldn't reference a /usr/include file I think ? Is the correct thing not to mv struct.h to sy

Re: #include struct.h in sys/queue.h

2000-10-02 Thread Jeremy Lea
Hi, On Mon, Oct 02, 2000 at 12:06:18PM +0200, Poul-Henning Kamp wrote: This is because there is a file called "struct.h" in the ircII distribution. The addition of #include struct.h to sys/queue.h looks a bit unsettling to me: A sys/* file shouldn't reference a /usr/include fi

Re: #include struct.h in sys/queue.h

2000-10-02 Thread Poul-Henning Kamp
In message [EMAIL PROTECTED], Jeremy Lea writes: Is the correct thing not to mv struct.h to sys/struct.h, create a struct.h which just pulls in sys/struct.h and have sys/queue.h #include sys/struct.h ? This breaks several other ports (like BitchX). I think this breaks all IRC's which

Re: #include struct.h in sys/queue.h

2000-10-02 Thread Jordan Hubbard
This breaks several other ports (like BitchX). I think this breaks all IRC's which are cloned from the same origin :-) I'm still looking for the downside to this. ;-) - Jordan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: #include struct.h in sys/queue.h

2000-10-02 Thread Peter van Dijk
On Mon, Oct 02, 2000 at 10:10:39AM -0700, Jordan Hubbard wrote: This breaks several other ports (like BitchX). I think this breaks all IRC's which are cloned from the same origin :-) I'm still looking for the downside to this. ;-) 'HEY!' ;P Greetz, Peter -- dataloss networks

Re: #include struct.h in sys/queue.h

2000-10-02 Thread Siobhan Patricia Lynch
On Mon, 2 Oct 2000, Jordan Hubbard wrote: This breaks several other ports (like BitchX). I think this breaks all IRC's which are cloned from the same origin :-) I'm still looking for the downside to this. ;-) Well *some* of us still use ircII, however I've successfully compiled such

Re: #include struct.h in sys/queue.h

2000-10-02 Thread Bruce Evans
/irc/ircII/work/ircii-4.4X/include/struct.h:51: syntax error before `_' This is because there is a file called "struct.h" in the ircII distribution. The addition of #include struct.h to sys/queue.h looks a bit unsettling to me: A sys/* file shouldn't reference a /usr/include file I