Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Mar 2021 20:53:04 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f2f8405cf6b5 - main - if_vtbe: Add missing includes to fix build
Message-ID:  <202103082053.128Kr4P0006930@gitrepo.freebsd.org>

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

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

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

    if_vtbe: Add missing includes to fix build
    
    PR:             254137
    Reported by:    Mina Galić <me@igalic.co>
    MFC after:      3 days
    Fixes:          f8bc74e2f4a5 ("tap: add support for virtio-net offloads")
---
 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?202103082053.128Kr4P0006930>