summaryrefslogtreecommitdiffstats
path: root/cpukit/include/machine
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-27 07:33:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-08-27 07:38:54 +0200
commit6d70a1190539ade3f6ec67358461292908473066 (patch)
tree8336fbbea8e7d7dac3bd99f4be14d6fc625fa36e /cpukit/include/machine
parentAdd FreeBSD kernel space header files (diff)
downloadrtems-6d70a1190539ade3f6ec67358461292908473066.tar.bz2
Include <stdbool.h> in <machine/_kernel_types.h>
The FreeBSD kernel started to use the bool type. Update #3472.
Diffstat (limited to 'cpukit/include/machine')
-rw-r--r--cpukit/include/machine/_kernel_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/include/machine/_kernel_types.h b/cpukit/include/machine/_kernel_types.h
index 892ec413d5..a02f328aa2 100644
--- a/cpukit/include/machine/_kernel_types.h
+++ b/cpukit/include/machine/_kernel_types.h
@@ -28,6 +28,8 @@
#error "must be included via <sys/types.h> in kernel space"
#endif
+#include <stdbool.h>
+
typedef int boolean_t;
typedef struct device *device_t;
typedef char vm_memattr_t; /* memory attribute codes */