We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d2ec5be + 07aaa34 commit 943d6f6Copy full SHA for 943d6f6
NEWS
@@ -26,6 +26,9 @@ PHP NEWS
26
- pcntl:
27
. Fixed pcntl_rfork build for DragonFlyBSD. (David Carlier)
28
29
+- Sockets:
30
+ . Fixed bug GH-7978 (sockets extension compilation errors). (David Carlier)
31
+
32
- Standard:
33
. Fixed bug GH-7899 (Regression in unpack for negative int value). (Remi)
34
. 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