aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-12-15 18:50:28 +0000
committerKristof Provost <kp@FreeBSD.org>2021-12-17 11:38:34 +0000
commitb29c145cc1b3eb0e3583ec3ca8543b7ad32fbc5a (patch)
tree31bee85bbb6db66123024985fdaffe5870546dce
parent8eca341d9bb678f08065edd8f24c2ab32dcf8e56 (diff)
downloadsrc-b29c145cc1b3eb0e3583ec3ca8543b7ad32fbc5a.tar.gz
src-b29c145cc1b3eb0e3583ec3ca8543b7ad32fbc5a.zip
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
-rw-r--r--sys/net/if_stf.h2
1 files changed, 2 insertions, 0 deletions
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 */