summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m32c/rtems
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/m32c/rtems')
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/cpu.h4
-rw-r--r--cpukit/score/cpu/m32c/rtems/score/types.h5
2 files changed, 3 insertions, 6 deletions
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 817d062668..ef77ff45dd 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -37,10 +37,8 @@
extern "C" {
#endif
-#include <rtems/score/m32c.h> /* pick up machine definitions */
-#ifndef ASM
#include <rtems/score/types.h>
-#endif
+#include <rtems/score/m32c.h>
/* conditional compilation parameters */
diff --git a/cpukit/score/cpu/m32c/rtems/score/types.h b/cpukit/score/cpu/m32c/rtems/score/types.h
index 4ec65732ce..8b3c28f4ac 100644
--- a/cpukit/score/cpu/m32c/rtems/score/types.h
+++ b/cpukit/score/cpu/m32c/rtems/score/types.h
@@ -19,10 +19,9 @@
#ifndef _RTEMS_SCORE_TYPES_H
#define _RTEMS_SCORE_TYPES_H
-#ifndef ASM
+#include <rtems/score/basedefs.h>
-#include <stdbool.h>
-#include <stdint.h>
+#ifndef ASM
#ifdef __cplusplus
extern "C" {