git: 50a56453dadb - main - linuxkpi: Include <linux/types.h> from <linux/cc_platform.h>
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Dec 2023 18:28:43 UTC
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,
};