[php-src] Issue #9493: Build failure in ext/sockets

From: Date: Wed, 07 Sep 2022 09:07:05 +0000
Subject: [php-src] Issue #9493: Build failure in ext/sockets
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242369@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9493 Author: rs-bc ### Description /tmp/build-php-8.2.0RC1/php-8.2.0RC1/ext/sockets/conversions.c:1313:29: error: no member named 'sc_pid' in 'sockcred' ...{"pid", sizeof("pid"), 1, offsetof(struct sockcred, sc_pid), from_zval_w... ^ ~~~~~~ /usr/include/stddef.h:73:31: note: expanded from macro 'offsetof' #define offsetof(type, field) __offsetof(type, field) ^ ~~~~~ /usr/include/sys/cdefs.h:487:34: note: expanded from macro '__offsetof' #define __offsetof(type, field) __builtin_offsetof(type, field) ^ ~~~~~ 1 error generated. Note: there is a struct sockcred2 since FreeBSD 13.0 which contains a member called sc_pid. FreeBSD-12.3 which is officially supported does NOT declare that struct either. ### PHP Version PHP 8.2.0RC1 ### Operating System FreeBSD 11.4

« previous php.bugs (#242369) next »