summaryrefslogtreecommitdiff
path: root/x11/9term/patches/patch-ag
blob: 64342ea571d9fdc8efe2a3cc8490265e89f5049e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ag,v 1.1 2001/05/01 09:35:42 agc Exp $

--- 9term/command.c.orig	Mon Mar  7 01:50:51 1994
+++ 9term/command.c	Fri Sep 26 16:46:53 1997
@@ -13,7 +13,12 @@
 #include <sys/wait.h>
 #include <signal.h>
 #include <grp.h>
+#include <sys/param.h>
+#if (defined(BSD) && BSD >= 199306)
+#include <termios.h>
+#else
 #include <termio.h>
+#endif
 #ifdef SOLARIS
 #include <sys/stropts.h>
 #endif
@@ -204,7 +209,7 @@
  */
 
 void
-killpg(int sig)
+O_killpg(int sig)
 {
 	if (comm_pid)
 		kill(-comm_pid, sig);