Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 21:05:00 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e3394851b5da - stable/13 - if_vtbe: Add missing includes to fix build
Message-ID:  <202103082105.128L50Kt021635@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=e3394851b5da6ec46e655a4f801cd6cac0840445

commit e3394851b5da6ec46e655a4f801cd6cac0840445
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2021-03-08 20:47:29 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2021-03-08 21:04:40 +0000

    if_vtbe: Add missing includes to fix build
    
    PR:             254137
    Reported by:    Mina Galić <me@igalic.co>
    Fixes:          f8bc74e2f4a5 ("tap: add support for virtio-net offloads")
    
    (cherry picked from commit f2f8405cf6b50a9d91acc02073abf1062d9d34f4)
---
 sys/dev/beri/virtio/network/if_vtbe.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/dev/beri/virtio/network/if_vtbe.c b/sys/dev/beri/virtio/network/if_vtbe.c
index 69b40588a974..5959b621954b 100644
--- a/sys/dev/beri/virtio/network/if_vtbe.c
+++ b/sys/dev/beri/virtio/network/if_vtbe.c
@@ -70,6 +70,10 @@ __FBSDID("$FreeBSD$");
 #include <net/if_var.h>
 #include <net/if_vlan_var.h>
 
+#include <netinet/in.h>
+#include <netinet/udp.h>
+#include <netinet/tcp.h>
+
 #include <machine/bus.h>
 #include <machine/fdt.h>
 #include <machine/cpu.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103082105.128L50Kt021635>