Ticket #14872: patch-pty.c

File patch-pty.c, 416 bytes (added by mcklaren@…, 17 years ago)
Line 
1--- src/pty.c.orig      2008-03-31 00:47:37.000000000 +0200
2+++ src/pty.c   2008-03-31 00:48:54.000000000 +0200
3@@ -19,7 +19,7 @@
4 #include <errno.h>
5 
6 #ifdef HAVE_GRANTPT
7-# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__FreeBSD__)
8+# if !defined (__linux__) && !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__FreeBSD__)
9 #  define USE_SYSV_PTYS
10 #  include <sys/types.h>
11 #  include <stropts.h>