git: a239b47cc966 - releng/13.0 - if_vtbe: Add missing includes to fix build
Jessica Clarke
jrtc27 at FreeBSD.org
Mon Mar 8 21:34:43 UTC 2021
The branch releng/13.0 has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=a239b47cc966165d6f515c9787834abb7742cc95
commit a239b47cc966165d6f515c9787834abb7742cc95
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 21:33:27 +0000
if_vtbe: Add missing includes to fix build
PR: 254137
Reported by: Mina Galić <me at igalic.co>
Fixes: f8bc74e2f4a5 ("tap: add support for virtio-net offloads")
Approved by: re (gjb)
(cherry picked from commit f2f8405cf6b50a9d91acc02073abf1062d9d34f4)
(cherry picked from commit e3394851b5da6ec46e655a4f801cd6cac0840445)
---
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