Compiling Broccoli on NetBSD 4

Hello,

I ran into a problem while building the Broccoli part of the Bro
development version (1.3.2) on NetBSD 4.0. On NetBSD, <sys/sem.h> does
not define the union semun. The attached patch fixes this build problem
for me.

Best regards,
  Christoph Leuzinger

netbsd4_broccoli_sem_sysv.patch (461 Bytes)

I just noticed the Bro 1.4 pre-release posted on this list. The patch
applies to that release, too.

Regards,
  Christoph Leuzinger

I ran into a problem while building the Broccoli part of the Bro
development version (1.3.2) on NetBSD 4.0. On NetBSD, <sys/sem.h> does
not define the union semun. The attached patch fixes this build problem
for me.

Thanks, I've integrated this for the forthcoming 1.4 release.

    Vern