Skip to content

Commit 9321265

Browse files
authored
Fix RISC-V Linux build again (#215)
PR #204 broke the RISC-V build by including for a second time a header file that currently only exists in the RISC-V Android NDK. The header is not yet available in mainstream Linux distributions. The header in question, <sys/hwprobe.h>, is already included when building for Android at the top of riscv-hw.c so the second include is unnecessary and can be safely removed.
1 parent 76cc10d commit 9321265

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/riscv/linux/riscv-hw.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
#endif
1515

1616
#include <sched.h>
17-
#include <sys/hwprobe.h>
1817

1918
#include <cpuinfo/log.h>
2019
#include <riscv/api.h>

0 commit comments

Comments
 (0)