configure: fix vasprintf test (#236)
Fix the test for vasprintf function which failed with musl libc and fortify-headers on aarch64: _vasprintf.c:4:24: error: incompatible type for argument 3 of 'vasprintf' vasprintf(NULL, NULL, NULL); ^~~~
This commit is contained in:
parent
cd7f39421d
commit
34fc9416ba
3
configure
vendored
3
configure
vendored
@ -390,7 +390,8 @@ else
|
|||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
int main(void) {
|
int main(void) {
|
||||||
vasprintf(NULL, NULL, NULL);
|
va_list ap;
|
||||||
|
vasprintf(NULL, NULL, ap);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
Loading…
x
Reference in New Issue
Block a user