From dbf187f438520f8285e1abaa7c725dc8c9ed0fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 7 May 2024 18:28:03 +0300 Subject: [PATCH] lavu/riscv: fix build without Signed-off-by: Paul B Mahol --- libavutil/riscv/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c index c3683b06d0..69d1afe853 100644 --- a/libavutil/riscv/cpu.c +++ b/libavutil/riscv/cpu.c @@ -29,14 +29,14 @@ #include #define HWCAP_RV(letter) (1ul << ((letter) - 'A')) #endif -#ifdef HAVE_SYS_HWPROBE_H +#if HAVE_SYS_HWPROBE_H #include #endif int ff_get_cpu_flags_riscv(void) { int ret = 0; -#ifdef HAVE_SYS_HWPROBE_H +#if HAVE_SYS_HWPROBE_H struct riscv_hwprobe pairs[] = { { RISCV_HWPROBE_KEY_BASE_BEHAVIOR, 0 }, { RISCV_HWPROBE_KEY_IMA_EXT_0, 0 },