From 9d8657e90b918994d7d2bcf6dd2cc7354c35a1b4 Mon Sep 17 00:00:00 2001 From: Namhyung Kim Date: Mon, 22 Jan 2024 22:38:27 -0800 Subject: [PATCH] build: Fix cc_has_mgeneral_regs_only checking On some (old) distros, it'd also fail when some FP type variable is used. Including stdlib.h for atof() can detect that and should fix a fix error on CentOS 8. Signed-off-by: Namhyung Kim --- check-deps/__cc_has_mgeneral_regs_only.c | 1 + 1 file changed, 1 insertion(+) diff --git a/check-deps/__cc_has_mgeneral_regs_only.c b/check-deps/__cc_has_mgeneral_regs_only.c index ef9bc3c95..d2f7be1dd 100644 --- a/check-deps/__cc_has_mgeneral_regs_only.c +++ b/check-deps/__cc_has_mgeneral_regs_only.c @@ -1,4 +1,5 @@ #include +#include int main(void) {