--- popen.c.orig	Sat May 21 05:40:23 1994
+++ popen.c	Sat Nov 11 08:26:42 2000
@@ -117,11 +117,7 @@
 			}
 			(void) close(pdes[1]);
 		}
-#if defined(SVR4)||defined(HAVE_UNISTD_H)||!defined(BSD)
-		setpgrp();
-#else
 		setpgrp(0, getpid());
-#endif
 		execl("/bin/sh", "sh", "-c", program, NULL);
 		_exit(127);
 		/* NOTREACHED */
