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 82b8830 commit 07aaa34Copy full SHA for 07aaa34
NEWS
@@ -22,6 +22,7 @@ PHP NEWS
22
23
- Sockets:
24
. Fixed ext/sockets build on Haiku. (David Carlier)
25
+ . Fixed bug GH-7978 (sockets extension compilation errors). (David Carlier)
26
27
- Standard:
28
. Fixed bug GH-7875 (mails are sent even if failure to log throws exception).
ext/sockets/config.m4
@@ -67,6 +67,9 @@ if test "$PHP_SOCKETS" != "no"; then
67
AC_CACHE_CHECK([if ancillary credentials uses ucred],[ac_cv_ucred],
68
[
69
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
70
+#ifndef _GNU_SOURCE
71
+#define _GNU_SOURCE
72
+#endif
73
#include <sys/socket.h>
74
]], [[struct ucred u = {.gid = 0};]])],
75
[ac_cv_ucred=yes], [ac_cv_ucred=no])
0 commit comments