patch-src_pty_c 496 B

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