OSDN Git Service

acpi.h: make it self contained
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 15 Apr 2013 08:12:50 +0000 (11:12 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Apr 2013 13:16:38 +0000 (15:16 +0200)
Headers shouldn't assume another header is included,
pull in everything necessary.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/hw/acpi/acpi.h

index 4cd52c1..635be7b 100644 (file)
  * <http://www.gnu.org/licenses/>.
  */
 
+#include "qapi/error.h"
+#include "qemu/typedefs.h"
+#include "qemu/notify.h"
+#include "qemu/option.h"
+#include "exec/memory.h"
+
 /* from linux include/acpi/actype.h */
 /* Default ACPI register widths */