summaryrefslogtreecommitdiff
path: root/editors/vigor/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vigor/patches/patch-ad')
-rw-r--r--editors/vigor/patches/patch-ad8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/vigor/patches/patch-ad b/editors/vigor/patches/patch-ad
index 9360765bc4d..ab474cfcc3c 100644
--- a/editors/vigor/patches/patch-ad
+++ b/editors/vigor/patches/patch-ad
@@ -1,13 +1,13 @@
-$NetBSD: patch-ad,v 1.1 2006/03/02 19:52:01 wiz Exp $
+$NetBSD: patch-ad,v 1.2 2006/03/21 18:48:45 minskim Exp $
---- ex/ex_script.c.orig 2000-05-03 02:28:05.000000000 +0000
+--- ex/ex_script.c.orig 2000-05-02 19:28:05.000000000 -0700
+++ ex/ex_script.c
@@ -23,7 +23,7 @@ static const char sccsid[] = "@(#)ex_scr
#include <sys/select.h>
#endif
#include <sys/stat.h>
-#ifdef HAVE_SYS5_PTY
-+#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__)
++#if defined(HAVE_SYS5_PTY) && defined(HAVE_SYS_STROPTS_H)
#include <sys/stropts.h>
#endif
#include <sys/time.h>
@@ -16,7 +16,7 @@ $NetBSD: patch-ad,v 1.1 2006/03/02 19:52:01 wiz Exp $
}
-#ifdef HAVE_SYS5_PTY
-+#if defined(HAVE_SYS5_PTY) && !defined(__NetBSD__)
++#if defined(HAVE_SYS5_PTY) && defined(HAVE_SYS_STROPTS_H)
static int ptys_open __P((int, char *));
static int ptym_open __P((char *));