$NetBSD: patch-aa,v 1.4 2005/03/18 22:44:22 dmcmahill Exp $ --- src/frontend/aspice.c.orig 2004-08-29 13:54:58.000000000 -0400 +++ src/frontend/aspice.c @@ -176,9 +176,7 @@ sigchild(void) * whether the exit was normal or not. */ -#if defined(__NetBSD__) || defined(SOLARIS) - pid_t status; -#elif defined(__FreeBSD__) +#if defined(__NetBSD__) || defined(__sun__) || defined(__FreeBSD__) int status; #else union wait status; @@ -192,7 +190,7 @@ ft_checkkids(void) struct proc *p = NULL, *lp = NULL; char buf[BSIZE_SP]; FILE *fp; - int pid = 0; + pid_t pid = 0; static bool here = FALSE; /* Don't want to be re-entrant. */ if (!numchanged || here)