diff options
author | Brad Smith <brad@comstyle.com> | 2024-07-27 23:58:55 -0400 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-07-30 07:59:23 +1000 |
commit | 27fca0a0d560ae704457c5f89e0be658afef034d (patch) | |
tree | 735b9409587ef9aad8b1ad744972887802bd779d /util/getauxval.c | |
parent | 25268a18550323f6babbcc260838fa09941e5c85 (diff) |
util/cpuinfo: Make use of elf_aux_info(3) on OpenBSD
Signed-off-by: Brad Smith <brad@comstyle.com>
Message-ID: <ZqXB_zz0fR1CpA7k@humpty.home.comstyle.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/getauxval.c')
-rw-r--r-- | util/getauxval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/getauxval.c b/util/getauxval.c index ad4f6686a8..0735cd8271 100644 --- a/util/getauxval.c +++ b/util/getauxval.c @@ -99,7 +99,7 @@ unsigned long qemu_getauxval(unsigned long type) return 0; } -#elif defined(__FreeBSD__) +#elif defined(CONFIG_ELF_AUX_INFO) #include <sys/auxv.h> unsigned long qemu_getauxval(unsigned long type) |