Explorar el Código

sh: Add support stat structure and stat.h

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu hace 17 años
padre
commit
280df59a8d
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      include/linux/stat.h

+ 2 - 2
include/linux/stat.h

@@ -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
 }