From: Tonghao Zhang Date: Wed, 28 Mar 2018 05:49:24 +0000 (-0700) Subject: vhost: move stdbool include X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9426ee2678d8ff96019496e314ee0f18b7e3d63e;p=dpdk.git 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 --- 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