mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 05:41:04 +00:00
util/cacheinfo: Add missing include for ppc linux
This include was forgotten when splitting cacheinfo.c out of tcg/ppc/tcg-target.inc.c (see commit b255b2c8). For a Centos7 host, the include path <signal.h> <bits/sigcontext.h> <asm/sigcontext.h> <asm/elf.h> <asm/auxvec.h> implicitly pulls in the desired AT_* defines. Not so for Debian Jessie. Backports commit 810d5cad4087236236e00fd3046a16adf26e9060 from qemu
This commit is contained in:
parent
f1211b1c88
commit
b7ab3c861d
|
@ -127,6 +127,7 @@ static void arch_cache_info(int *isize, int *dsize)
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(_ARCH_PPC) && defined(__linux__)
|
#elif defined(_ARCH_PPC) && defined(__linux__)
|
||||||
|
# include "elf.h"
|
||||||
|
|
||||||
static void arch_cache_info(int *isize, int *dsize)
|
static void arch_cache_info(int *isize, int *dsize)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue