diff options
Diffstat (limited to 'emulators/qemu-devel/files/patch-hw-ppc_oldworld.c')
-rw-r--r-- | emulators/qemu-devel/files/patch-hw-ppc_oldworld.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-hw-ppc_oldworld.c b/emulators/qemu-devel/files/patch-hw-ppc_oldworld.c new file mode 100644 index 000000000000..46fc2ae7e77e --- /dev/null +++ b/emulators/qemu-devel/files/patch-hw-ppc_oldworld.c @@ -0,0 +1,14 @@ +--- a/hw/ppc_oldworld.c ++++ b/hw/ppc_oldworld.c +@@ -47,6 +47,11 @@ + #define MAX_IDE_BUS 2 + #define CFG_ADDR 0xf0000510 + ++/* FreeBSD headers define this */ ++#ifdef round_page ++#undef round_page ++#endif ++ + static int fw_cfg_boot_set(void *opaque, const char *boot_device) + { + fw_cfg_add_i16(opaque, FW_CFG_BOOT_DEVICE, boot_device[0]); |