Skip to contentSkip to conversation

sh: Add support include/linux/stat.h and stat structure

PATCH New Nobuhiro Iwamatsu 1 participant 1 message Mar 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sh: Add support include/linux/stat.h and stat structure

---
 include/linux/stat.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/linux/stat.h +2 -2
index 37f2924..71177d2 100644
@@ -126,7 +126,7 @@ struct stat {
 
 #endif	/* __MIPS__ */
 
-#if defined(__AVR32__)
+#if defined(__AVR32__) || defined (__SH__) 
 
 struct stat {
 	unsigned long st_dev;
@@ -149,7 +149,7 @@ struct stat {
 	unsigned long  __unused5;
 };
 
-#endif /* __AVR32__ */
+#endif /* __AVR32__ || __SH__ */
 
 #ifdef __cplusplus
 }
Signature · 1 line
1.5.4.3