projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix copy and paste error in regex code causing mishandling of \) in BRE
[musl]
/
include
/
sys
/
statvfs.h
diff --git
a/include/sys/statvfs.h
b/include/sys/statvfs.h
index
fd22fab
..
3eaa2dc
100644
(file)
--- a/
include/sys/statvfs.h
+++ b/
include/sys/statvfs.h
@@
-1,6
+1,9
@@
#ifndef _SYS_STATVFS_H
#define _SYS_STATVFS_H
#ifndef _SYS_STATVFS_H
#define _SYS_STATVFS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
#define __NEED_fsblkcnt_t
#define __NEED_fsfilcnt_t
#define __NEED_fsblkcnt_t
#define __NEED_fsfilcnt_t
@@
-38,5
+41,15
@@
int fstatvfs (int, struct statvfs *);
#define ST_NOATIME 1024
#define ST_NODIRATIME 2048
#define ST_NOATIME 1024
#define ST_NODIRATIME 2048
+#ifdef _LARGEFILE64_SOURCE
+#define statvfs64 statvfs
+#define fstatvfs64 fstatvfs
+#define fsblkcnt64_t fsblkcnt_t
+#define fsfilcnt64_t fsfilcnt_t
+#endif
+
+#ifdef __cplusplus
+}
+#endif
#endif
#endif