diff -ur jed-0.99-16/src/pty.c jed-0.99-16-patched/src/pty.c --- jed-0.99-16/src/pty.c 2002-10-20 14:55:31.000000000 +0800 +++ jed-0.99-16-patched/src/pty.c 2005-08-16 21:48:28.000000000 +0800 @@ -18,7 +18,7 @@ #include -#if !defined (__linux__) && !defined(__CYGWIN__) && defined(HAVE_GRANTPT) +#if !defined (__linux__) && !defined(__MACH__) && !defined(__CYGWIN__) && defined(HAVE_GRANTPT) # define USE_SYSV_PTYS # include # include