diff options
-rw-r--r-- | cpukit/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/include/rtems/system.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index bc2f090e3c..d6b1adbcbb 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,9 @@ 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> + * score/include/rtems/system.h: include <stdint.h>. + +2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org> + PR/589 rtems * include/rtems/pci.h: New (Moved from c/src/libchip/network/pci.h). diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h index b6a8f95253..8f9d6f3a1c 100644 --- a/cpukit/score/include/rtems/system.h +++ b/cpukit/score/include/rtems/system.h @@ -143,12 +143,13 @@ typedef void * proc_ptr; #define FALSE (0) #endif +#include <stdint.h> #include <rtems/score/cpu.h> /* processor specific information */ #define stringify( _x ) # _x #define RTEMS_offsetof(type, field) \ - ((unsigned32) &(((type *) 0)->field)) + ((uint32_t ) &(((type *) 0)->field)) /* * The following is the extern for the RTEMS version string. |