Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2026 04:24:13 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f6f5eb319016 - main - linux/linux_common.h: make header self-contained
Message-ID:  <6a0be5ed.447cb.52f1c909@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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 *);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a0be5ed.447cb.52f1c909>