From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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: , X-List-Received-Date: Wed, 28 Mar 2018 05:49:37 -0000 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 --- 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 -- 1.8.3.1