aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>2023-12-04 22:02:02 +0000
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>2023-12-13 18:18:42 +0000
commit50a56453dadbd05eb1c43addaf2773a1ef417445 (patch)
tree0bab46c708b9e525c025f028d333759b342aef57
parent641eba2de4b4f238d2a9d37ab975a13129376d29 (diff)
downloadsrc-50a56453dadbd05eb1c43addaf2773a1ef417445.tar.gz
src-50a56453dadbd05eb1c43addaf2773a1ef417445.zip
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
-rw-r--r--sys/compat/linuxkpi/common/include/linux/cc_platform.h3
1 files changed, 3 insertions, 0 deletions
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,
};