pty.c.diff   [plain text]


--- pty.c.orig	2005-09-19 18:22:02.000000000 -0700
+++ pty.c	2005-09-19 19:08:02.000000000 -0700
@@ -34,7 +34,7 @@
 #endif
 
 /* for solaris 2.1, Unixware (SVR4.2) and possibly others */
-#ifdef HAVE_SVR4_PTYS
+#if defined(HAVE_SVR4_PTYS) && !defined(__APPLE__)
 # include <sys/stropts.h>
 #endif