si_code

NetBSD 5.0.1 siginfo_t struct compile errors

Submitted by Anonymous
on September 21, 2009 - 9:27am

Hi,

When I define any structure member variable with either si_signo, si_code, or si_errno, I got a compiler syntax error. The workaround is to undef these member variables. These variables are posix standard variable for siginfo_t struct. But since I define my own struct tag the compier is not suppose to complaint about it.

#include
#include