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:
Natanael Copa 2017-10-25 09:13:07 +02:00 committed by Juan RP
parent cd7f39421d
commit 34fc9416ba

3
configure vendored
View File

@ -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