fix x32 msghdr struct by removing x32 bits/socket.h
[musl.git] / include / sys / statfs.h
blob6f4c6230f7a0a0b81acadbe5cf0d8851a8fd7519
1 #ifndef _SYS_STATFS_H
2 #define _SYS_STATFS_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 #include <features.h>
10 #include <sys/statvfs.h>
12 typedef struct __fsid_t {
13 int __val[2];
14 } fsid_t;
16 #include <bits/statfs.h>
18 int statfs (const char *, struct statfs *);
19 int fstatfs (int, struct statfs *);
21 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
22 #define statfs64 statfs
23 #define fstatfs64 fstatfs
24 #define fsblkcnt64_t fsblkcnt_t
25 #define fsfilcnt64_t fsfilcnt_t
26 #endif
28 #ifdef __cplusplus
30 #endif
32 #endif