--- 9term/command.c.orig	Mon Mar  7 10:50:51 1994
+++ 9term/command.c	Fri Feb 11 10:08:04 2000
@@ -13,7 +13,11 @@
 #include <sys/wait.h>
 #include <signal.h>
 #include <grp.h>
+#ifdef __FreeBSD__
+#include <termios.h>
+#else
 #include <termio.h>
+#endif
 #ifdef SOLARIS
 #include <sys/stropts.h>
 #endif
@@ -204,7 +208,7 @@
  */
 
 void
-killpg(int sig)
+O_killpg(int sig)
 {
 	if (comm_pid)
 		kill(-comm_pid, sig);