From patchwork Mon Apr 15 13:19:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 236599 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E44712C00CE for ; Mon, 15 Apr 2013 23:24:49 +1000 (EST) Received: from localhost ([::1]:49668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URjOq-0003G5-4k for incoming@patchwork.ozlabs.org; Mon, 15 Apr 2013 09:24:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URjOX-0003BE-MW for qemu-devel@nongnu.org; Mon, 15 Apr 2013 09:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URjOV-0003F6-E7 for qemu-devel@nongnu.org; Mon, 15 Apr 2013 09:24:29 -0400 Received: from mail-bk0-x229.google.com ([2a00:1450:4008:c01::229]:36997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URjK4-0001TV-I9 for qemu-devel@nongnu.org; Mon, 15 Apr 2013 09:19:52 -0400 Received: by mail-bk0-f41.google.com with SMTP id i18so2348687bkv.28 for ; Mon, 15 Apr 2013 06:19:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=BnZRh0prgtTQcD6PCqrAW4Gqcw5WGaiYiasOTJeztkI=; b=yO57ud5c5lvMWH+lC221vpWlF4njGy5bXUWy/pY99jmahEOnIiEDy04O5xg4HP/D3X Bq5Klss2pR/pfeH+FiEGlf0HZEX9hz6Qcn8sGx8VkijYeHg5z+ngeszs06bAa3lvao/0 P5zSV2hxt4quCbohpFmlDlBmZXk+eyilr33LuScUJkF/blhRjKQqwP0uwkGkHKL+RLpR 4bkUx6r69hqea8Qn/bya1Nvyebvhdw60sdpi1ggui7P9kA3shZ40YcF7t05j0FWZqmum WMpw02HYgvaxPq/LrkMPZUPdKEHZebBgkmcV+OHVsUaatVu4y1YlpeKcbxL/cA7mBCOJ hbDg== X-Received: by 10.205.71.6 with SMTP id yi6mr8355103bkb.8.1366031991596; Mon, 15 Apr 2013 06:19:51 -0700 (PDT) Received: from playground.lan (93-34-176-20.ip50.fastwebnet.it. [93.34.176.20]) by mx.google.com with ESMTPS id js7sm8527139bkb.9.2013.04.15.06.19.49 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 15 Apr 2013 06:19:50 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Mon, 15 Apr 2013 15:19:27 +0200 Message-Id: <1366031973-7718-7-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1366031973-7718-1-git-send-email-pbonzini@redhat.com> References: <1366031973-7718-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4008:c01::229 Cc: "Michael S. Tsirkin" Subject: [Qemu-devel] [PATCH 06/12] acpi.h: make it self contained X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Michael S. Tsirkin" Headers shouldn't assume another header is included, pull in everything necessary. Signed-off-by: Michael S. Tsirkin Signed-off-by: Paolo Bonzini --- include/hw/acpi/acpi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/hw/acpi/acpi.h b/include/hw/acpi/acpi.h index 4cd52c1..635be7b 100644 --- a/include/hw/acpi/acpi.h +++ b/include/hw/acpi/acpi.h @@ -19,6 +19,12 @@ * . */ +#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 */