The branch main has been updated by kib:

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

commit f6f5eb3190165cea4470048809413b1fdbd97e04
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-05-19 02:22:58 +0000
Commit:     Konstantin Belousov <[email protected]>
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 *);

Reply via email to