git: f2f8405cf6b5 - main - if_vtbe: Add missing includes to fix build

Jessica Clarke jrtc27 at FreeBSD.org
Mon Mar 8 20:53:04 UTC 2021


The branch main has been updated by jrtc27:

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

commit f2f8405cf6b50a9d91acc02073abf1062d9d34f4
Author:     Jessica Clarke <jrtc27 at FreeBSD.org>
AuthorDate: 2021-03-08 20:47:29 +0000
Commit:     Jessica Clarke <jrtc27 at 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 at 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>


More information about the dev-commits-src-all mailing list