From patchwork Wed Jul 22 16:44:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 51366 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id EA7F9228EF for ; Wed, 22 Jul 2015 16:44:23 +0000 (UTC) Received: by wicmm11 with SMTP id mm11sf18347940wic.3 for ; Wed, 22 Jul 2015 09:44:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=3q2VCsaFyui5fiRoXwnVKjTK5WRKWdHKhUS1Bcggdr4=; b=ND4HmRW2dELq1HJKJNOw+8BI0RuhXULexh1HMdAjQUFSiHs17bjsMGEpxOccCVmp3+ wviac1jLgewt/R77GWl+hSe6kM5gMxFfY1Qo1KxciYmX5zE3wGYvTSISxtstugpWsSy0 i1tZlwk+Hlh/ww8x5OSl8oFBEentBHCDB1SI44bOcB4uWHMIJagCuxncZBEaC7egSrQK /ggOM4ItMCgEwTxF1cy8fEzvSqFPhJbx6kNIQZanVsRKMZbljXtEcqm1d759cnzCnYQD HCQWAAVZCPGhzJ2EefqmH+GX7IwLuHPdONTx1PUWvv3WsothwirlMzHuVyFDCIErzrDK P8ag== X-Gm-Message-State: ALoCoQn3VTxT0iw5FLPOJZWmIunanaWqUMDyDUpLjJOk2Y25QGOJM0q38xJjp8I9HS2J0yws442+ X-Received: by 10.180.79.10 with SMTP id f10mr8462109wix.3.1437583463269; Wed, 22 Jul 2015 09:44:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.2 with SMTP id t2ls120292laz.40.gmail; Wed, 22 Jul 2015 09:44:23 -0700 (PDT) X-Received: by 10.152.20.138 with SMTP id n10mr3207190lae.115.1437583463086; Wed, 22 Jul 2015 09:44:23 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id i6si1658813lai.30.2015.07.22.09.44.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 09:44:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by lahe2 with SMTP id e2so79172804lah.1 for ; Wed, 22 Jul 2015 09:44:23 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr3243854laj.88.1437583462987; Wed, 22 Jul 2015 09:44:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.7.198 with SMTP id l6csp46241lba; Wed, 22 Jul 2015 09:44:20 -0700 (PDT) X-Received: by 10.112.166.106 with SMTP id zf10mr3258622lbb.36.1437583457812; Wed, 22 Jul 2015 09:44:17 -0700 (PDT) Received: from mnementh.archaic.org.uk (mnementh.archaic.org.uk. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id cq12si1640078lad.97.2015.07.22.09.44.17 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 22 Jul 2015 09:44:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of pm215@archaic.org.uk designates 2001:8b0:1d0::1 as permitted sender) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1ZHx7r-0002XF-SD; Wed, 22 Jul 2015 17:44:11 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org Subject: [PATCH 11/12] event_notifier.h: Don't include qemu-common.h Date: Wed, 22 Jul 2015 17:44:10 +0100 Message-Id: <1437583451-9677-12-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1437583451-9677-1-git-send-email-peter.maydell@linaro.org> References: <1437583451-9677-1-git-send-email-peter.maydell@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Don't include qemu-common.h or windows.h in event_notifier.h; instead include osdep.h and typedefs.h, which is all we need. Signed-off-by: Peter Maydell --- include/qemu/event_notifier.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/include/qemu/event_notifier.h b/include/qemu/event_notifier.h index 88b57af..ca7491b 100644 --- a/include/qemu/event_notifier.h +++ b/include/qemu/event_notifier.h @@ -13,11 +13,8 @@ #ifndef QEMU_EVENT_NOTIFIER_H #define QEMU_EVENT_NOTIFIER_H -#include "qemu-common.h" - -#ifdef _WIN32 -#include -#endif +#include "osdep.h" +#include "qemu/typedefs.h" struct EventNotifier { #ifdef _WIN32