From a4f794436901e4b79039c47c994970f33e8594c7 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 29 Nov 1999 04:38:22 +0000 Subject: depend on the existance of the define TIOCSTI to enable it, not SYSV --- net/icb/patches/patch-as | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net/icb/patches/patch-as (limited to 'net/icb') diff --git a/net/icb/patches/patch-as b/net/icb/patches/patch-as new file mode 100644 index 00000000000..85169689c7e --- /dev/null +++ b/net/icb/patches/patch-as @@ -0,0 +1,21 @@ +$NetBSD: patch-as,v 1.1 1999/11/29 04:38:22 christos Exp $ + +--- unix.c.orig Sun Nov 28 23:33:27 1999 ++++ unix.c Sun Nov 28 23:35:51 1999 +@@ -92,13 +92,13 @@ + pushback(c) + char c; + { +-#ifndef SYSV ++#ifdef TIOCSTI + if (ioctl(0, TIOCSTI, &c) < 0) + perror("TIOCSTI ioctl failed"); +-#else /* SYSV */ ++#else /* !TIOCSTI */ + if (ungetc(c,stdin) == EOF) + perror("ungetc() failed"); +-#endif /* SYSV */ ++#endif /* TIOCSTI */ + } + + -- cgit v1.2.3