projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dladdr should be available under _BSD_SOURCE as well as _GNU_SOURCE
[musl]
/
include
/
sys
/
statfs.h
diff --git
a/include/sys/statfs.h
b/include/sys/statfs.h
index
f5239d8
..
a5a4db9
100644
(file)
--- a/
include/sys/statfs.h
+++ b/
include/sys/statfs.h
@@
-16,6
+16,13
@@
typedef struct {
int statfs (const char *, struct statfs *);
int fstatfs (int, struct statfs *);
int statfs (const char *, struct statfs *);
int fstatfs (int, struct statfs *);
+#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+#define statfs64 statfs
+#define fstatfs64 fstatfs
+#define fsblkcnt64_t fsblkcnt_t
+#define fsfilcnt64_t fsfilcnt_t
+#endif
+
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif