Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2023 12:58:50 GMT
From:      Dmitry Chagin <dchagin@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 110be11ac991 - main - linux(4): Remove include of sys/types.h from linux_vdso.h
Message-ID:  <202308181258.37ICwoKi084781@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308181258.37ICwoKi084781>