>From 525e92fd45559c7537fd37fcc40cf254a432e458 Mon Sep 17 00:00:00 2001
From: Mohammed Khoory <mkhoory@eiast.ae>
Date: Tue, 24 Sep 2013 10:37:46 +0900
Subject: [PATCH] Added an include guard to sparc.h to prevent assembly files
 from including typedefs when including <rtems/asm.h>

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

diff --git a/cpukit/score/cpu/sparc/rtems/score/sparc.h b/cpukit/score/cpu/sparc/rtems/score/sparc.h
index 0c00ac4..1e31d19 100644
--- a/cpukit/score/cpu/sparc/rtems/score/sparc.h
+++ b/cpukit/score/cpu/sparc/rtems/score/sparc.h
@@ -23,7 +23,9 @@
 #ifndef _RTEMS_SCORE_SPARC_H
 #define _RTEMS_SCORE_SPARC_H
 
+#ifndef ASM
 #include <rtems/score/types.h>
+#endif
 
 #ifdef __cplusplus
 extern "C" {
-- 
1.8.0.msysgit.0

