mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
cpu: Only include <sys/auxv.h> if available
This header is not present on several non-Linux targets that nonetheless support aarch64. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
f8f7bc254f
commit
82ffb81c9c
@ -690,6 +690,7 @@ headers = [
|
|||||||
'net/if.h',
|
'net/if.h',
|
||||||
'pty.h',
|
'pty.h',
|
||||||
'pwd.h',
|
'pwd.h',
|
||||||
|
'sys/auxv.h',
|
||||||
'sys/ioctl.h',
|
'sys/ioctl.h',
|
||||||
'sys/mount.h',
|
'sys/mount.h',
|
||||||
'sys/syscall.h',
|
'sys/syscall.h',
|
||||||
|
@ -25,7 +25,9 @@
|
|||||||
# if defined(WITH_ASM_HWCAP_H)
|
# if defined(WITH_ASM_HWCAP_H)
|
||||||
# include <asm/hwcap.h>
|
# include <asm/hwcap.h>
|
||||||
# endif
|
# endif
|
||||||
# include <sys/auxv.h>
|
# if defined(WITH_SYS_AUXV_H)
|
||||||
|
# include <sys/auxv.h>
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "viralloc.h"
|
#include "viralloc.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user