summaryrefslogtreecommitdiff
path: root/ext/standard/proc_open.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-26 14:55:32 +0000
committerWez Furlong <wez@php.net>2004-05-26 14:55:32 +0000
commit429bce651962a867dab4f51a49fd45fdb3cd9452 (patch)
tree44e79f97869a2e06127f2bfb9b5549c5dac0c673 /ext/standard/proc_open.c
parent6ef90672d8097927933119039a9c0e0de1c35e54 (diff)
downloadphp-git-429bce651962a867dab4f51a49fd45fdb3cd9452.tar.gz
Apparently it is better to specify 500 here for unix98 bits and pieces.
Diffstat (limited to 'ext/standard/proc_open.c')
-rw-r--r--ext/standard/proc_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c
index 214084083b..833ef9067f 100644
--- a/ext/standard/proc_open.c
+++ b/ext/standard/proc_open.c
@@ -17,9 +17,10 @@
*/
/* $Id$ */
-#define _XOPEN_SOURCE
+#define _XOPEN_SOURCE 500
#define __EXTENSIONS__ 1
#define _BSD_SOURCE
+#define _OSF_SOURCE
#include "php.h"
#include <stdio.h>
@@ -53,7 +54,6 @@
* */
#ifdef PHP_CAN_SUPPORT_PROC_OPEN
-
#if HAVE_PTSNAME && HAVE_GRANTPT && HAVE_UNLOCKPT && HAVE_SYS_IOCTL_H && HAVE_TERMIOS_H
# include <sys/ioctl.h>
# include <termios.h>