diff options
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/include/rtems/score/interr.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/include/rtems/score/interr.h b/cpukit/include/rtems/score/interr.h index d3fb370ec3..0616220040 100644 --- a/cpukit/include/rtems/score/interr.h +++ b/cpukit/include/rtems/score/interr.h @@ -38,6 +38,8 @@ #ifndef _RTEMS_SCORE_INTERR_H #define _RTEMS_SCORE_INTERR_H +#include <limits.h> + #include <rtems/score/cpu.h> /** @@ -175,7 +177,7 @@ typedef enum { * This enum value ensures that the enum type needs at least 32-bits for * architectures with short enums. */ - RTEMS_FATAL_SOURCE_LAST = 0xffffffff + RTEMS_FATAL_SOURCE_LAST = INT_MAX } Internal_errors_Source; /** |