--- lib/libxview/misc/expandname.c.orig	1993-06-29 07:16:30.000000000 +0200
+++ lib/libxview/misc/expandname.c	2003-12-30 01:31:12.000000000 +0100
@@ -120,7 +120,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
