$NetBSD: patch-as,v 1.2 1999/11/29 05:01:36 soren Exp $ --- icb/unix.c.orig Sun Nov 28 23:33:27 1999 +++ icb/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 */ }