git: 52462498b132 - stable/15 - linux/linux_common.h: make header self-contained
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 May 2026 07:13:51 UTC
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);