[rtems commit] sparc.h: Included stdint.h

Sebastian Huber sebh at rtems.org
Mon May 6 13:38:02 UTC 2013


Module:    rtems
Branch:    master
Commit:    b1ce6f29d2d90efd71fc7ee7459f0385fc0eff4e
Changeset: http://git.rtems.org/rtems/commit/?id=b1ce6f29d2d90efd71fc7ee7459f0385fc0eff4e

Author:    Mohammed Khoory <mkhoory at eiast.ae>
Date:      Mon May  6 19:23:42 2013 +0900

sparc.h: Included stdint.h

This header uses uint32_t but does not include stdint.h
This may cause problems when compiling applications that include BSP
headers that include this file (leon.h for example)

---

 cpukit/score/cpu/sparc/rtems/score/sparc.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpukit/score/cpu/sparc/rtems/score/sparc.h b/cpukit/score/cpu/sparc/rtems/score/sparc.h
index 7436cb8..aa2812d 100644
--- a/cpukit/score/cpu/sparc/rtems/score/sparc.h
+++ b/cpukit/score/cpu/sparc/rtems/score/sparc.h
@@ -23,6 +23,8 @@
 #ifndef _RTEMS_SCORE_SPARC_H
 #define _RTEMS_SCORE_SPARC_H
 
+#include <stdint.h>
+
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the vc mailing list