Subject: | Feature tests for functions broken |
At least on some platforms, the tests for the availiability of C functions in Makefile.PL are broken since 2.010:
Checking HAS_GETADDRINFO...
test-0.c: In function ‘main’:
test-0.c:16:37: error: ‘NULL’ undeclared (first use in this function)
void *p = &getaddrinfo; if(p == NULL) return 1;
The test program should include stddef.h, so that the NULL pointer is defined.
This only affects older Perls that don't have the relevant Config keys (5.12 and below, I think).