error: use of undeclared identifier 'AF_INET'
The missing include is caused by the lack of #else ... #error
where the headers are included conditionally:
work/pulseaudio-13.0/src/pulsecore/ipacl.c:89:23: error: use of undeclared identifier 'AF_INET'
if (inet_pton(AF_INET, a, &e.address_ipv4) > 0) {
^
FreeBSD 12.2