From patchwork Wed Mar 28 05:49:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tonghao Zhang X-Patchwork-Id: 36597 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 53DA65F1D; Wed, 28 Mar 2018 07:49:40 +0200 (CEST) Received: from mail-io0-f196.google.com (mail-io0-f196.google.com [209.85.223.196]) by dpdk.org (Postfix) with ESMTP id E3776354D for ; Wed, 28 Mar 2018 07:49:36 +0200 (CEST) Received: by mail-io0-f196.google.com with SMTP id y128so2051365iod.4 for ; Tue, 27 Mar 2018 22:49:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W2M4lRdpX9DCb8tmLsq0rOOyGwpQxno1kqsYogG7WtA=; b=ownW3SGq+yxnjGP/PmsZg3VbZ0H0YvocmLfe8kFJdd2Zj5a2KODekLxf/41ryU4jcd jFF+HmNHR+usanyc83MFUeqMEHqMyYwfXxFpZEZUnJCgXtQaZq5HPP7QjaxhuF2KQbqm kucIcSYqle1F9qIz9Red441Nq53wu06gNopGA2/1kI4DqIAfuvk8j7m6LnGKwCzvlrI1 d6H1ukTfnkOlBaPMVanEyIUkxHvjZXx6rjoCUKyT4NawxkS9j/1fp/H23mIfySGbKan8 /cSOnlL+hs3TSgkpL+mKUNOqj7dCLvH7v2iTjhcjKZYJXlIUv/joMst86sDVI76Ep1p3 XXKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W2M4lRdpX9DCb8tmLsq0rOOyGwpQxno1kqsYogG7WtA=; b=WAxHC7cBDHSB3h05LcjcfbIcuZy7ArMNRMKf+sOcvngk0I7n5JZYiClpiEKsDjEwp/ pvDdS761/vmqJpeW1I6QBGc8qPH6Am5ao+cgKnDCTz5DSMhwlcwkNZbZPiOh1jpD53vV 4RTFdCsaqqrZ5Jjc5D/qBU6g/hXkjD6srDYMuPZ441NpY0s/eal1ERHO3uAHYrDBB69I OGlrTeB7YoFzeKDT7MCahL/+Y78oYnbb4pYGSUXi/8wvSHXyBtbRQV2MeRk8qkUCClNJ XSBaoojaflQLb7KOLPOWWXPTNkvGpQy8b+DqVE3z2reH0/2wV2oS3PscVM+XzDaIfkTY E0Hw== X-Gm-Message-State: AElRT7EZoWgV74d8Nx1b3IgUjs3voD29xsKm03lBxxD1UOmJcYH0uVE/ CkC+4gwqR2GaL318O/KkFF4= X-Google-Smtp-Source: AG47ELsJI7Fd+g6LCAxhTuXmQbowZwi5iVCnCOkQGr0FxG2J6rTXVO3v/9syXyQ+Qk5cVTk9ZXdUgg== X-Received: by 10.107.112.15 with SMTP id l15mr40122824ioc.121.1522216176146; Tue, 27 Mar 2018 22:49:36 -0700 (PDT) Received: from local.opencloud.tech.localdomain ([52.229.160.192]) by smtp.gmail.com with ESMTPSA id 40sm1903044iol.39.2018.03.27.22.49.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Mar 2018 22:49:35 -0700 (PDT) From: xiangxia.m.yue@gmail.com To: jianfeng.tan@intel.com Cc: dev@dpdk.org, Tonghao Zhang Date: Tue, 27 Mar 2018 22:49:24 -0700 Message-Id: <1522216165-19666-2-git-send-email-xiangxia.m.yue@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1522216165-19666-1-git-send-email-xiangxia.m.yue@gmail.com> References: <1522216165-19666-1-git-send-email-xiangxia.m.yue@gmail.com> Subject: [dpdk-dev] [PATCH 1/2] vhost: move stdbool header file to vhost.h X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Tonghao Zhang The vhost.h file uses bool type, but not include stdbool header file. If other c files include vhost.h directly, there will be a compile error. This patch will be used in the next patch. Signed-off-by: Tonghao Zhang Reviewed-by: Maxime Cqouelin --- lib/librte_vhost/socket.c | 1 - lib/librte_vhost/vhost.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_vhost/socket.c b/lib/librte_vhost/socket.c index 1352339..95bed78 100644 --- a/lib/librte_vhost/socket.c +++ b/lib/librte_vhost/socket.c @@ -4,7 +4,6 @@ #include #include -#include #include #include #include diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index d947bc9..37edb48 100644 --- a/lib/librte_vhost/vhost.h +++ b/lib/librte_vhost/vhost.h @@ -6,6 +6,7 @@ #define _VHOST_NET_CDEV_H_ #include #include +#include #include #include #include