From: Wez Furlong Date: Sun, 2 May 2004 11:13:08 +0000 (+0000) Subject: Fix Bug #28251 X-Git-Tag: RELEASE_0_1~309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d5ce8cd086dfa15b9d4ff4e8a18f022998e72a5;p=php Fix Bug #28251 --- diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index 126f712376..25aa002564 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -54,9 +54,11 @@ #if HAVE_PTSNAME && HAVE_GRANTPT && HAVE_UNLOCKPT && HAVE_SYS_IOCTL_H && HAVE_TERMIOS_H -# define PHP_CAN_DO_PTS 1 # include # include +# ifdef TIOCNOTTY +# define PHP_CAN_DO_PTS 1 +# endif #endif #include "proc_open.h"