We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 742783c commit 870d893Copy full SHA for 870d893
ext/posix/config.m4
@@ -9,7 +9,7 @@ if test "$PHP_POSIX" = "yes"; then
9
AC_DEFINE(HAVE_POSIX, 1, [whether to include POSIX-like functions])
10
PHP_NEW_EXTENSION(posix, posix.c, $ext_shared)
11
12
- AC_CHECK_HEADERS(sys/mkdev.h)
+ AC_CHECK_HEADERS([sys/mkdev.h sys/sysmacros.h])
13
14
AC_CHECK_FUNCS(seteuid setegid setsid getsid setpgid getpgid ctermid mkfifo mknod setrlimit getrlimit getlogin getgroups makedev initgroups getpwuid_r getgrgid_r)
15
ext/posix/posix.c
@@ -52,6 +52,9 @@
52
#if HAVE_SYS_MKDEV_H
53
# include <sys/mkdev.h>
54
#endif
55
+#if HAVE_SYS_SYSMACROS_H
56
+# include <sys/sysmacros.h>
57
+#endif
58
59
ZEND_DECLARE_MODULE_GLOBALS(posix)
60
static PHP_MINFO_FUNCTION(posix);
0 commit comments