git: 110be11ac991 - main - linux(4): Remove include of sys/types.h from linux_vdso.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Aug 2023 12:58:50 UTC
The branch main has been updated by dchagin:
URL: https://cgit.FreeBSD.org/src/commit/?id=110be11ac9913fb5f26b1456359d25b5740dd615
commit 110be11ac9913fb5f26b1456359d25b5740dd615
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-08-18 12:58:32 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-08-18 12:58:32 +0000
linux(4): Remove include of sys/types.h from linux_vdso.h
Due to sys/param.h includes sys/types.h and the fact that the sys/param.h
is included everywhere where linux_vdso.h is needed.
---
sys/compat/linux/linux_vdso.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/compat/linux/linux_vdso.h b/sys/compat/linux/linux_vdso.h
index afd994b6c4fc..e7f45f38c662 100644
--- a/sys/compat/linux/linux_vdso.h
+++ b/sys/compat/linux/linux_vdso.h
@@ -28,8 +28,6 @@
#ifndef _LINUX_VDSO_H_
#define _LINUX_VDSO_H_
-#include <sys/types.h>
-
struct linux_vdso_sym {
SLIST_ENTRY(linux_vdso_sym) sym;
uint32_t size;