fix build on Solaris

This commit is contained in:
Wez Furlong 2005-06-06 22:04:14 +00:00
parent 61e9d432d9
commit f9de2a3dbd
2 changed files with 5 additions and 0 deletions

View File

@ -9,5 +9,7 @@ if test "$PHP_POSIX" = "yes"; then
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
PHP_NEW_EXTENSION(posix, posix.c, $ext_shared)
AC_CHECK_HEADERS(sys/mkdev.h)
AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo mknod getrlimit getlogin getgroups)
fi

View File

@ -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)