diff options
Diffstat (limited to 'comms/modemd/patches/patch-ab')
-rw-r--r-- | comms/modemd/patches/patch-ab | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/comms/modemd/patches/patch-ab b/comms/modemd/patches/patch-ab index 230970f0179..297bd779161 100644 --- a/comms/modemd/patches/patch-ab +++ b/comms/modemd/patches/patch-ab @@ -1,8 +1,16 @@ -$NetBSD: patch-ab,v 1.2 1998/08/07 10:36:44 agc Exp $ +$NetBSD: patch-ab,v 1.3 2007/10/10 16:53:58 rillig Exp $ ---- common/ttio.c.orig Sat Feb 22 00:06:09 1997 -+++ common/ttio.c Tue Mar 3 17:19:06 1998 -@@ -73,6 +73,16 @@ +--- common/ttio.c.orig 1997-02-21 23:06:09.000000000 +0000 ++++ common/ttio.c 2007-10-10 16:48:38.000000000 +0000 +@@ -51,6 +51,7 @@ static char copyright[] = + #include "mcap.h" + #include "ttio.h" + #include <pwd.h> ++#include <stdlib.h> + + static void dectl PROTO ((char *, int, char *, int, char *)); + +@@ -73,6 +74,16 @@ int ttsetup (name) { if (chown (nbuf, pw -> pw_uid, pw -> pw_gid) < 0) warn ("Can't set owner on %s: %m", nbuf); |