$NetBSD: patch-bp,v 1.2 2009/12/10 20:35:57 abs Exp $ --- lib/libxview/misc/expandname.c.orig 1993-06-29 05:16:30.000000000 +0000 +++ lib/libxview/misc/expandname.c @@ -23,6 +23,9 @@ static char sccsid[] = "@(#)expandna #include #include +#if defined(BSD) && (BSD >= 199306) +#include +#else #ifdef sparc #ifdef SVR4 #include @@ -30,6 +33,7 @@ static char sccsid[] = "@(#)expandna #include #endif SVR4 #endif +#endif #ifdef SVR4 #include @@ -120,7 +124,9 @@ xv_expand_name(name) } (void) close(pivec[0]); #ifndef SVR4 +#if !(defined(BSD) && (BSD >= 199103)) while (wait((union wait *) & status) != pid); +#endif #else SVR4 while (wait( & status) != pid); #endif SVR4