git: f4096a7c8a5b - main - net: make ethernet.h self-contained

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Fri, 17 Dec 2021 11:38:59 UTC
The branch main has been updated by kp:

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

commit f4096a7c8a5be23ac9b2250e20119cbe4798c838
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2021-12-15 19:44:23 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2021-12-17 11:38:35 +0000

    net: make ethernet.h self-contained
    
    Reviewed by:    imp
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D33501
---
 sys/net/ethernet.h | 2 ++
 1 file changed, 2 insertions(+)

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.
  */