File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ PHP NEWS
26
26
- pcntl:
27
27
. Fixed pcntl_rfork build for DragonFlyBSD. (David Carlier)
28
28
29
+ - Sockets:
30
+ . Fixed bug GH-7978 (sockets extension compilation errors). (David Carlier)
31
+
29
32
- Standard:
30
33
. Fixed bug GH-7899 (Regression in unpack for negative int value). (Remi)
31
34
. Fixed bug GH-7875 (mails are sent even if failure to log throws exception).
Original file line number Diff line number Diff line change @@ -67,6 +67,9 @@ if test "$PHP_SOCKETS" != "no"; then
67
67
AC_CACHE_CHECK ( [ if ancillary credentials uses ucred] ,[ ac_cv_ucred] ,
68
68
[
69
69
AC_COMPILE_IFELSE ( [ AC_LANG_PROGRAM ( [ [
70
+ #ifndef _GNU_SOURCE
71
+ #define _GNU_SOURCE
72
+ #endif
70
73
#include <sys/socket.h>
71
74
] ] , [ [ struct ucred u = {.gid = 0};] ] ) ] ,
72
75
[ ac_cv_ucred=yes] , [ ac_cv_ucred=no] )
You can’t perform that action at this time.
0 commit comments