diff options
Diffstat (limited to 'emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c')
-rw-r--r-- | emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c b/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c index 499de6e86db0..ae39b6c3f4ae 100644 --- a/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c +++ b/emulators/qemu-devel/files/patch-util_cpuinfo-ppc.c @@ -1,13 +1,16 @@ ---- util/cpuinfo-ppc.c.orig 2023-08-29 11:28:39 UTC +--- util/cpuinfo-ppc.c.orig 2024-01-26 18:16:35 UTC +++ util/cpuinfo-ppc.c -@@ -9,8 +9,14 @@ +@@ -6,11 +6,17 @@ + #include "qemu/osdep.h" + #include "host/cpuinfo.h" + +-#include <asm/cputable.h> #ifdef CONFIG_GETAUXVAL # include <sys/auxv.h> - #else --# include <asm/cputable.h> +# ifdef __linux__ +# include <asm/cputable.h> +# endif + #else # include "elf.h" +#endif + |