git: f6f5eb319016 - main - linux/linux_common.h: make header self-contained

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Tue, 19 May 2026 04:24:13 UTC
The branch main has been updated by kib:

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

commit f6f5eb3190165cea4470048809413b1fdbd97e04
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-19 02:22:58 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-19 04:23:47 +0000

    linux/linux_common.h: make header self-contained
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 sys/compat/linux/linux_common.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys/compat/linux/linux_common.h b/sys/compat/linux/linux_common.h
index 44ba63c44278..730c10d228dc 100644
--- a/sys/compat/linux/linux_common.h
+++ b/sys/compat/linux/linux_common.h
@@ -28,6 +28,12 @@
 #ifndef _LINUX_COMMON_H_
 #define _LINUX_COMMON_H_
 
+#include <sys/types.h>
+#include <sys/socket.h>
+
+struct ifnet;
+struct thread;
+
 int	ifname_bsd_to_linux_ifp(const struct ifnet *, char *, size_t);
 int	ifname_bsd_to_linux_idx(u_int, char *, size_t);
 struct ifnet *ifname_linux_to_ifp( const char *);