$NetBSD: patch-bp,v 1.1 2001/12/20 09:19:59 tron Exp $ --- lib/libxview/misc/expandname.c.orig Tue Jun 29 07:16:30 1993 +++ lib/libxview/misc/expandname.c Thu Dec 20 10:09:49 2001 @@ -23,6 +23,9 @@ #include #include +#if defined(BSD) && (BSD >= 199306) +#include +#else #ifdef sparc #ifdef SVR4 #include @@ -30,6 +33,7 @@ #include #endif SVR4 #endif +#endif #ifdef SVR4 #include @@ -120,7 +124,9 @@ } (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