summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/object.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-15 09:15:07 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-15 09:33:15 -0500
commit8237b2d39c8a4244ebf4adac7b9a9927d509f189 (patch)
treec105c0bba121cff523bc582af73dcb83234de44b /cpukit/score/include/rtems/score/object.h
parenttestsuites: Avoid clock driver (diff)
downloadrtems-8237b2d39c8a4244ebf4adac7b9a9927d509f189.tar.bz2
rtems/score/object.h: Include <rtems/score/cpu.h> to honor 16-bit Ids
Selection of 16-bit object Ids is a port specific decision. Somewhere along the way, the file providing this information was dropped from the include file set. This resulted in the code being compiled with a mix of 16 and 32 bit ID assumptions for those targets with 16-bit Ids.
Diffstat (limited to 'cpukit/score/include/rtems/score/object.h')
-rw-r--r--cpukit/score/include/rtems/score/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 4eb66ad487..03afc9b1b9 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -21,6 +21,7 @@
#define _RTEMS_SCORE_OBJECT_H
#include <rtems/score/basedefs.h>
+#include <rtems/score/cpu.h>
#include <rtems/score/chain.h>
#ifdef __cplusplus