Skip to contentSkip to conversation

acpi.h: make it self contained

PATCH Applied Michael S. Tsirkin 2 participants 2 messages Apr 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpi.h: make it self contained

Headers shouldn't assume another header is included, pull in everything necessary.

---
 include/hw/acpi/acpi.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/hw/acpi/acpi.h +6 -0
index 35f7e09..88f7378 100644
@@ -19,6 +19,12 @@
  * <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 */
 
Signature · 1 line
MST