瀏覽代碼

sh: Add support stat structure and stat.h

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Nobuhiro Iwamatsu 17 年之前
父節點
當前提交
280df59a8d
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
 }