From 9426ee2678d8ff96019496e314ee0f18b7e3d63e Mon Sep 17 00:00:00 2001 From: Tonghao Zhang Date: Tue, 27 Mar 2018 22:49:24 -0700 Subject: [PATCH] vhost: move stdbool include 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 Coquelin --- 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 8bc8228bba..ca9bfcdd2a 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 7ca2a03079..4981e6d0cc 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 -- 2.20.1