git: 586c0e9676cf - stable/14 - linuxkpi: Include <linux/types.h> from <linux/cc_platform.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Feb 2024 21:32:36 UTC
The branch stable/14 has been updated by wulf:
URL: https://cgit.FreeBSD.org/src/commit/?id=586c0e9676cf3036f8b6d3e4272f25fe52850555
commit 586c0e9676cf3036f8b6d3e4272f25fe52850555
Author: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-12-04 22:02:02 +0000
Commit: Vladimir Kondratyev <wulf@FreeBSD.org>
CommitDate: 2024-02-17 20:58:35 +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
(cherry picked from commit 50a56453dadbd05eb1c43addaf2773a1ef417445)
---
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,
};