Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2023 18:28:43 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien?= =?utf-8?Q?P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 50a56453dadb - main - linuxkpi: Include <linux/types.h> from <linux/cc_platform.h>
Message-ID:  <202312131828.3BDIShxw018823@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dumbbell:

URL: https://cgit.FreeBSD.org/src/commit/?id=50a56453dadbd05eb1c43addaf2773a1ef417445

commit 50a56453dadbd05eb1c43addaf2773a1ef417445
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-12-04 22:02:02 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-12-13 18:18:42 +0000

    linuxkpi: Include <linux/types.h> from <linux/cc_platform.h>
    
    [Why]
    We need this for the `bool` type.
    
    Reviewed by:    manu
    Approved by:    manu
    Differential Revision:  https://reviews.freebsd.org/D43016
---
 sys/compat/linuxkpi/common/include/linux/cc_platform.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/cc_platform.h b/sys/compat/linuxkpi/common/include/linux/cc_platform.h
index 727dbc98dab2..01c0de17f7d2 100644
--- a/sys/compat/linuxkpi/common/include/linux/cc_platform.h
+++ b/sys/compat/linuxkpi/common/include/linux/cc_platform.h
@@ -3,6 +3,9 @@
 #ifndef _LINUXKPI_LINUX_CC_PLATFORM_H_
 #define	_LINUXKPI_LINUX_CC_PLATFORM_H_
 
+#include <linux/types.h>
+#include <linux/stddef.h>
+
 enum cc_attr {
 	CC_ATTR_MEM_ENCRYPT,
 };



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