From: David Gibson <david(a)gibson.dropbear.id.au> We used to use linux/tcp.h instead of the (somewhat) standard netinet/tcp.h because we needed the Linux specific extensions for TCP_INFO. Since 13f0291e "tcp: Remove compile-time dependency on struct tcp_info version" we're dealing with that in a different way. However tcp_buf.c and tcp_vu.c still used linux/tcp.h. Change it to netinet/tcp.h. Signed-off-by: David Gibson <david(a)gibson.dropbear.id.au> Signed-off-by: Laurent Vivier <lvivier(a)redhat.com> --- tcp_buf.c | 3 +-- tcp_vu.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tcp_buf.c b/tcp_buf.c index 274e313fac95..d17ba48047bd 100644 --- a/tcp_buf.c +++ b/tcp_buf.c @@ -19,8 +19,7 @@ #include <errno.h> #include <netinet/ip.h> - -#include <linux/tcp.h> +#include <netinet/tcp.h> #include "util.h" #include "ip.h" diff --git a/tcp_vu.c b/tcp_vu.c index 44fd538628a6..cc6d4f0f262e 100644 --- a/tcp_vu.c +++ b/tcp_vu.c @@ -10,10 +10,10 @@ #include <stdint.h> #include <netinet/ip.h> +#include <netinet/tcp.h> #include <sys/socket.h> -#include <linux/tcp.h> #include <linux/virtio_net.h> #include "util.h" -- 2.47.0