git: b1746faad6d6 - main - debugnet: Include some required headers
Mark Johnston
markj at FreeBSD.org
Tue Sep 14 15:04:23 UTC 2021
The branch main has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=b1746faad6d690e43ac78ba3a9bca96c767ea729
commit b1746faad6d690e43ac78ba3a9bca96c767ea729
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-09-14 14:53:15 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-09-14 15:02:45 +0000
debugnet: Include some required headers
Don't depend on pollution from net/vnet.h.
PR: 258496
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
---
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>
More information about the dev-commits-src-all
mailing list