--- lib/libxview/misc/expandname.c.orig Tue Jun 29 07:16:30 1993 +++ lib/libxview/misc/expandname.c Fri Aug 19 15:53:44 2005 @@ -21,15 +21,6 @@ #include #include #include -#include - -#ifdef sparc -#ifdef SVR4 -#include -#else -#include -#endif SVR4 -#endif #ifdef SVR4 #include @@ -120,7 +111,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