git: b29c145cc1b3 - main - if_stf: make if_stf.h self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Dec 2021 11:38:56 UTC
The branch main has been updated by kp:
URL: https://cgit.FreeBSD.org/src/commit/?id=b29c145cc1b3eb0e3583ec3ca8543b7ad32fbc5a
commit b29c145cc1b3eb0e3583ec3ca8543b7ad32fbc5a
Author: Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-12-15 18:50:28 +0000
Commit: Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-12-17 11:38:34 +0000
if_stf: make if_stf.h self-contained
Ensure that the if_stf.h header can be included without including any
other headers.
Reviewed by: imp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D33498
---
sys/net/if_stf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sys/net/if_stf.h b/sys/net/if_stf.h
index 26c8f2f04e00..8416558d92b1 100644
--- a/sys/net/if_stf.h
+++ b/sys/net/if_stf.h
@@ -30,6 +30,8 @@
#ifndef _NET_IF_STF_H_
#define _NET_IF_STF_H_
+#include <netinet/in.h>
+
struct stfv4args {
struct in_addr srcv4_addr; /* Our IPv4 src/WAN address */
struct in_addr braddr; /* The border relay IPv4 address */