$NetBSD: patch-ad,v 1.1 2006/03/02 19:52:01 wiz Exp $ --- ex/ex_script.c.orig 2000-05-03 02:28:05.000000000 +0000 +++ ex/ex_script.c @@ -23,7 +23,7 @@ static const char sccsid[] = "@(#)ex_scr #include #endif #include -#ifdef HAVE_SYS5_PTY +#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__) #include #endif #include @@ -625,7 +625,7 @@ sscr_check(sp) F_CLR(gp, G_SCRWIN); } -#ifdef HAVE_SYS5_PTY +#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__) static int ptys_open __P((int, char *)); static int ptym_open __P((char *));