From 30e2df697af65d82c24e4fd6e23a4c7b9666a814 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 21 Aug 2008 04:10:35 +0000 Subject: Include stdbool.h. Use bool as base-type for boolean. --- cpukit/score/cpu/sh/rtems/score/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/cpu/sh/rtems') diff --git a/cpukit/score/cpu/sh/rtems/score/types.h b/cpukit/score/cpu/sh/rtems/score/types.h index b237a5a976..a9ea64da39 100644 --- a/cpukit/score/cpu/sh/rtems/score/types.h +++ b/cpukit/score/cpu/sh/rtems/score/types.h @@ -31,6 +31,7 @@ #ifndef ASM +#include #include #ifdef __cplusplus @@ -43,7 +44,7 @@ extern "C" { typedef uint16_t Priority_Bit_map_control; -typedef uint16_t boolean; /* Boolean value, external */ +typedef bool boolean; /* Boolean value, external */ /* data bus has 16 bits */ typedef float single_precision; /* single precision float */ -- cgit v1.2.3