wez Mon Jun 6 18:06:00 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/posix config.m4 posix.c
Log:
mfh: fix solaris build
http://cvs.php.net/diff.php/php-src/ext/posix/config.m4?r1=1.7.14.1&r2=1.7.14.2&ty=u
Index: php-src/ext/posix/config.m4
diff -u php-src/ext/posix/config.m4:1.7.14.1
php-src/ext/posix/config.m4:1.7.14.2
--- php-src/ext/posix/config.m4:1.7.14.1 Mon May 9 08:16:11 2005
+++ php-src/ext/posix/config.m4 Mon Jun 6 18:06:00 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.7.14.1 2005/05/09 12:16:11 sniper Exp $
+dnl $Id: config.m4,v 1.7.14.2 2005/06/06 22:06:00 wez Exp $
dnl
PHP_ARG_ENABLE(posix,whether to enable POSIX-like functions,
@@ -9,5 +9,7 @@
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
PHP_NEW_EXTENSION(posix, posix.c, $ext_shared)
- AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo
getrlimit getlogin getgroups)
+ AC_CHECK_HEADERS(sys/mkdev.h)
+
+ AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo
mknod getrlimit getlogin getgroups)
fi
http://cvs.php.net/diff.php/php-src/ext/posix/posix.c?r1=1.60.2.3&r2=1.60.2.4&ty=u
Index: php-src/ext/posix/posix.c
diff -u php-src/ext/posix/posix.c:1.60.2.3 php-src/ext/posix/posix.c:1.60.2.4
--- php-src/ext/posix/posix.c:1.60.2.3 Mon May 9 08:16:11 2005
+++ php-src/ext/posix/posix.c Mon Jun 6 18:06:00 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: posix.c,v 1.60.2.3 2005/05/09 12:16:11 sniper Exp $ */
+/* $Id: posix.c,v 1.60.2.4 2005/06/06 22:06:00 wez Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -44,6 +44,9 @@
#include <errno.h>
#include <grp.h>
#include <pwd.h>
+#if HAVE_SYS_MKDEV_H
+# include <sys/mkdev.h>
+#endif
ZEND_DECLARE_MODULE_GLOBALS(posix)
@@ -135,7 +138,7 @@
static PHP_MINFO_FUNCTION(posix)
{
php_info_print_table_start();
- php_info_print_table_row(2, "Revision", "$Revision: 1.60.2.3 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.60.2.4 $");
php_info_print_table_end();
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php