Subject: Re: signalvar.h - compilation problem
To: Martin Husemann <martin@duskware.de>
From: Florian Stoehr <netbsd@wolfnode.de>
List: netbsd-users
Date: 02/19/2005 11:40:19
On Fri, 18 Feb 2005, Martin Husemann wrote:

> On Fri, Feb 18, 2005 at 02:50:34PM +0100, Florian Stoehr wrote:
>> a gcc run with -E shows that the CIRCLEQ_HEAD(, ksiginfo) did NOT expand -
>> strange, this shoud be a macro; Here's the gcc -E output:
>
> Is <sys/queue.h> included? Could you try if adding it to signalvar.h
> helps? If so, please file a PR.
>
> Martin
>

Argh!

I found that problem - those ettercap guys copied the queue.h file and
modified it. In the file:

/* to avoid conflict with system includes */
#define _SYS_QUEUE_H_

:-(

I don't like software using modified system headers and cross-ifdefing.

Seems to be some work to make this run under NetBSD.

Thanks anyway.
Florian