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> --- 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 274e313..d17ba48 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 b994817..c10a269 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