Skip to content

Commit

Permalink
build: Fix cc_has_mgeneral_regs_only checking
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
namhyung committed Jan 23, 2024
1 parent 3609b18 commit 9d8657e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check-deps/__cc_has_mgeneral_regs_only.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>

int main(void)
{
Expand Down

0 comments on commit 9d8657e

Please sign in to comment.