diff options
author | maximilian attems <max@stro.at> | 2012-06-29 08:39:03 +0200 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2012-06-29 08:39:03 +0200 |
commit | f24132edfa296478afd40263e493fd2e095f70d2 (patch) | |
tree | d14b3b69e648164f706803d75fa14c41a9fc1034 | |
parent | 96dfc60bacbbbef57bf15deaa5556f19cf47492b (diff) | |
download | klibc-f24132edfa296478afd40263e493fd2e095f70d2.tar.gz |
[klibc] inlcude: [mips*/klibc/archstat.h] get rid of nlink_t
_u32 in all cases, mirrors dcc62b6b38334075271eaffb1dc42cd47ceb5692
in linux.
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/include/arch/mips/klibc/archstat.h | 4 | ||||
-rw-r--r-- | usr/include/arch/mips64/klibc/archstat.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/usr/include/arch/mips/klibc/archstat.h b/usr/include/arch/mips/klibc/archstat.h index c1d60d97c3ba80..b06686f078a4a0 100644 --- a/usr/include/arch/mips/klibc/archstat.h +++ b/usr/include/arch/mips/klibc/archstat.h @@ -1,6 +1,8 @@ #ifndef _KLIBC_ARCHSTAT_H #define _KLIBC_ARCHSTAT_H +#include <sys/types.h> + #define _STATBUF_ST_NSEC /* @@ -17,7 +19,7 @@ struct stat { unsigned long long st_ino; mode_t st_mode; - nlink_t st_nlink; + __u32 st_nlink; uid_t st_uid; gid_t st_gid; diff --git a/usr/include/arch/mips64/klibc/archstat.h b/usr/include/arch/mips64/klibc/archstat.h index 577f9ad19dc144..2dbb907c7d1f4a 100644 --- a/usr/include/arch/mips64/klibc/archstat.h +++ b/usr/include/arch/mips64/klibc/archstat.h @@ -1,6 +1,8 @@ #ifndef _KLIBC_ARCHSTAT_H #define _KLIBC_ARCHSTAT_H +#include <sys/types.h> + #define _STATBUF_ST_NSEC struct stat { @@ -10,7 +12,7 @@ struct stat { unsigned long st_ino; mode_t st_mode; - nlink_t st_nlink; + __u32 st_nlink; uid_t st_uid; gid_t st_gid; |