define SIG_ERR etc for netbsd