From 34fc9416baf99a3472635a4be97cd2817ce1a981 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Wed, 25 Oct 2017 09:13:07 +0200 Subject: [PATCH] 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); ^~~~ --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 861a67d0..b043dab0 100755 --- a/configure +++ b/configure @@ -390,7 +390,8 @@ else #define _GNU_SOURCE #include int main(void) { - vasprintf(NULL, NULL, NULL); + va_list ap; + vasprintf(NULL, NULL, ap); return 0; } EOF