chiark / gitweb /
[PATCH] oops forgot to add the new klibc/include directory
[elogind.git] / klibc / include / arch / s390 / klibc / archstat.h
1 #ifndef _KLIBC_ARCHSTAT_H
2 #define _KLIBC_ARCHSTAT_H
3
4 #define _STATBUF_ST_NSEC
5
6 /* This matches struct stat64 in glibc2.1, hence the absolutely
7  * insane amounts of padding around dev_t's.
8  */
9 struct stat {
10         unsigned long long      st_dev;
11         unsigned int    __pad1;
12 #define STAT64_HAS_BROKEN_ST_INO        1
13         unsigned long   __st_ino;
14         unsigned int    st_mode;
15         unsigned int    st_nlink;
16         unsigned long   st_uid;
17         unsigned long   st_gid;
18         unsigned long long      st_rdev;
19         unsigned int    __pad3;
20         long long       st_size;
21         unsigned long   st_blksize;
22         unsigned char   __pad4[4];
23         unsigned long   __pad5;     /* future possible st_blocks high bits */
24         unsigned long   st_blocks;  /* Number 512-byte blocks allocated. */
25         struct timespec st_atim;
26         struct timespec st_mtim;
27         struct timespec st_ctim;
28         unsigned long long      st_ino;
29 };
30
31 #endif