Files
pkgsrc-ng/x11/9term/patches/patch-ag
2013-09-26 17:14:40 +02:00

27 lines
513 B
Plaintext

$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);