openbsd-ports/editors/jed/patches/patch-src_pty_c

13 lines
496 B
Plaintext

$OpenBSD: patch-src_pty_c,v 1.1 2012/12/07 18:40:43 naddy Exp $
--- src/pty.c.orig Fri Dec 7 19:32:03 2012
+++ src/pty.c Fri Dec 7 19:32:53 2012
@@ -19,7 +19,7 @@
#include <errno.h>
#ifdef HAVE_GRANTPT
-# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(_AIX)
+# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(_AIX)
# define USE_SYSV_PTYS
# include <sys/types.h>
# include <stropts.h>