mirror of
https://github.com/php/php-src.git
synced 2024-11-29 21:04:10 +08:00
fix build on Solaris
This commit is contained in:
parent
61e9d432d9
commit
f9de2a3dbd
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user