apic_internal.h: Include cpu.h directly

apic_internal.h relies on cpu.h having been included (for the
X86CPU type); include it directly rather than relying on it
being pulled in via one of the other includes like timer.h.

Backports commit 20fbcfdd58ea47607a5755979d43f8c48ac93f08 from qemu
This commit is contained in:
Lioncash 2018-02-15 08:45:36 -05:00
parent d3a00d97bc
commit afaf2a99d3
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -20,6 +20,7 @@
#ifndef QEMU_APIC_INTERNAL_H
#define QEMU_APIC_INTERNAL_H
#include "cpu.h"
#include "exec/memory.h"
#include "hw/cpu/icc_bus.h"
#include "qemu/timer.h"