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.
2 parents 298f0fb + 943d6f6 commit 0832d4aCopy full SHA for 0832d4a
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