Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2021 13:48:29 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 76985729102c - stable/13 - debugnet: Include some required headers
Message-ID:  <202109211348.18LDmTg6035592@gitrepo.freebsd.org>

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

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

commit 76985729102cf137b81ca57b1b0dbe61ee41e66d
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2021-09-14 14:53:15 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2021-09-21 13:37:42 +0000

    debugnet: Include some required headers
    
    Don't depend on pollution from net/vnet.h.
    
    PR:             258496
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit b1746faad6d690e43ac78ba3a9bca96c767ea729)
---
 sys/net/debugnet.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/net/debugnet.c b/sys/net/debugnet.c
index 8652597c55db..7a2c98ace65d 100644
--- a/sys/net/debugnet.c
+++ b/sys/net/debugnet.c
@@ -39,6 +39,9 @@ __FBSDID("$FreeBSD$");
 #include <sys/endian.h>
 #include <sys/errno.h>
 #include <sys/eventhandler.h>
+#include <sys/kernel.h>
+#include <sys/lock.h>
+#include <sys/mutex.h>
 #include <sys/socket.h>
 #include <sys/sysctl.h>
 
@@ -53,6 +56,7 @@ __FBSDID("$FreeBSD$");
 #include <net/if_dl.h>
 #include <net/if_types.h>
 #include <net/if_var.h>
+#include <net/vnet.h>
 #include <net/route.h>
 #include <net/route/nhop.h>
 



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