From patchwork Fri Jan 29 17:50:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 8165861 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1E1719F440 for ; Fri, 29 Jan 2016 18:01:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 822E520361 for ; Fri, 29 Jan 2016 18:01:15 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CC52620108 for ; Fri, 29 Jan 2016 18:01:14 +0000 (UTC) Received: from localhost ([::1]:35904 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDMA-0007AG-BO for patchwork-qemu-devel@patchwork.kernel.org; Fri, 29 Jan 2016 13:01:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDBR-0002wt-8G for qemu-devel@nongnu.org; Fri, 29 Jan 2016 12:50:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aPDBQ-0001v3-9z for qemu-devel@nongnu.org; Fri, 29 Jan 2016 12:50:09 -0500 Received: from mnementh.archaic.org.uk ([2001:8b0:1d0::1]:59685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aPDBQ-0001uk-45 for qemu-devel@nongnu.org; Fri, 29 Jan 2016 12:50:08 -0500 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1aPDBO-0001S1-95; Fri, 29 Jan 2016 17:50:06 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 29 Jan 2016 17:50:04 +0000 Message-Id: <1454089805-5470-15-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1454089805-5470-1-git-send-email-peter.maydell@linaro.org> References: <1454089805-5470-1-git-send-email-peter.maydell@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:8b0:1d0::1 Cc: patches@linaro.org Subject: [Qemu-devel] [PATCH 14/15] contrib: Clean up includes 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell --- contrib/ivshmem-client/ivshmem-client.c | 2 +- contrib/ivshmem-client/main.c | 1 + contrib/ivshmem-server/ivshmem-server.c | 2 +- contrib/ivshmem-server/main.c | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/ivshmem-client/ivshmem-client.c b/contrib/ivshmem-client/ivshmem-client.c index 31619d8..44ae364 100644 --- a/contrib/ivshmem-client/ivshmem-client.c +++ b/contrib/ivshmem-client/ivshmem-client.c @@ -6,7 +6,7 @@ * top-level directory. */ -#include +#include "qemu/osdep.h" #include #include diff --git a/contrib/ivshmem-client/main.c b/contrib/ivshmem-client/main.c index c004870..33ae1da 100644 --- a/contrib/ivshmem-client/main.c +++ b/contrib/ivshmem-client/main.c @@ -6,6 +6,7 @@ * top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "ivshmem-client.h" diff --git a/contrib/ivshmem-server/ivshmem-server.c b/contrib/ivshmem-server/ivshmem-server.c index d9e26b0..bfd0fad 100644 --- a/contrib/ivshmem-server/ivshmem-server.c +++ b/contrib/ivshmem-server/ivshmem-server.c @@ -5,11 +5,11 @@ * (at your option) any later version. See the COPYING file in the * top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/sockets.h" #include -#include #include #include #ifdef CONFIG_LINUX diff --git a/contrib/ivshmem-server/main.c b/contrib/ivshmem-server/main.c index 9b0d6e2..cca1061 100644 --- a/contrib/ivshmem-server/main.c +++ b/contrib/ivshmem-server/main.c @@ -6,6 +6,7 @@ * top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "ivshmem-server.h"