1 |
--- dietlibc-0.27/include/sys/stat.h.stat64 2004-03-26 10:25:15.000000000 -0500 |
2 |
+++ dietlibc-0.27/include/sys/stat.h 2004-12-08 15:41:21.210758429 -0500 |
3 |
@@ -529,6 +529,27 @@ |
4 |
long __unused[3]; |
5 |
}; |
6 |
|
7 |
+struct stat64 { |
8 |
+ unsigned long st_dev; |
9 |
+ unsigned long st_ino; |
10 |
+ unsigned long st_nlink; |
11 |
+ unsigned int st_mode; |
12 |
+ unsigned int st_uid; |
13 |
+ unsigned int st_gid; |
14 |
+ unsigned int __pad0; |
15 |
+ unsigned long st_rdev; |
16 |
+ unsigned long st_size; |
17 |
+ unsigned long st_blksize; |
18 |
+ unsigned long st_blocks; |
19 |
+ unsigned long st_atime; |
20 |
+ unsigned long __reserved0; |
21 |
+ unsigned long st_mtime; |
22 |
+ unsigned long __reserved1; |
23 |
+ unsigned long st_ctime; |
24 |
+ unsigned long __reserved2; |
25 |
+ long __unused[3]; |
26 |
+}; |
27 |
+ |
28 |
#elif defined(__ia64__) |
29 |
|
30 |
struct stat { |
31 |
--- dietlibc-0.27/x86_64/fstat64.S.stat64 2004-12-08 15:44:26.905907603 -0500 |
32 |
+++ dietlibc-0.27/x86_64/fstat64.S 2004-12-08 15:45:42.515346313 -0500 |
33 |
@@ -0,0 +1,3 @@ |
34 |
+#include "syscalls.h" |
35 |
+ |
36 |
+syscall(fstat,fstat64) |