aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2021-12-15 19:44:23 +0000
committerKristof Provost <kp@FreeBSD.org>2021-12-17 11:38:35 +0000
commitf4096a7c8a5be23ac9b2250e20119cbe4798c838 (patch)
tree4820337fa89bdbb8eb8dd7b9ed345d7a101d4285
parent959af5a89b205dce41405ec1a52078c7acaca49b (diff)
downloadsrc-f4096a7c8a5be23ac9b2250e20119cbe4798c838.tar.gz
src-f4096a7c8a5be23ac9b2250e20119cbe4798c838.zip
net: make ethernet.h self-contained
Reviewed by: imp Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D33501
-rw-r--r--sys/net/ethernet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/ethernet.h b/sys/net/ethernet.h
index 9a80a6db794f..a3ca88473a9f 100644
--- a/sys/net/ethernet.h
+++ b/sys/net/ethernet.h
@@ -8,6 +8,8 @@
#ifndef _NET_ETHERNET_H_
#define _NET_ETHERNET_H_
+#include <sys/types.h>
+
/*
* Some basic Ethernet constants.
*/