nios2: add struct stat support in linux/stat.h

This is needed for jffs2 support.

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
This commit is contained in:
Thomas Chou 2010-03-20 07:05:47 +08:00 committed by Scott McNutt
parent 3bef253f08
commit c72bfafbc9
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ struct stat {
#endif /* __PPC__ */
#if defined (__ARM__) || defined (__I386__) || defined (__M68K__) || defined (__bfin__) ||\
defined (__microblaze__)
defined (__microblaze__) || defined (__nios2__)
struct stat {
unsigned short st_dev;