Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2026 07:13:51 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 52462498b132 - stable/15 - linux/linux_common.h: make header self-contained
Message-ID:  <6a1153af.3e106.66322313@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by kib:

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

commit 52462498b1321a97031c8daa5d627299210d7bd2
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-05-19 02:22:58 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-05-23 06:56:13 +0000

    linux/linux_common.h: make header self-contained
    
    (cherry picked from commit f6f5eb3190165cea4470048809413b1fdbd97e04)
---
 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 97f5a259f300..770b9bca250d 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(struct ifnet *, char *, size_t);
 int	ifname_bsd_to_linux_idx(u_int, char *, size_t);
 int	ifname_bsd_to_linux_name(const char *, char *, size_t);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a1153af.3e106.66322313>