summaryrefslogtreecommitdiff
path: root/include/bits/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bits/stat.h')
-rw-r--r--include/bits/stat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bits/stat.h b/include/bits/stat.h
index faa23771..ba43e695 100644
--- a/include/bits/stat.h
+++ b/include/bits/stat.h
@@ -35,4 +35,8 @@ struct stat {
blkcnt_t st_blocks;
};
+#define st_atime st_atim.tv_sec
+#define st_mtime st_mtim.tv_sec
+#define st_ctime st_ctim.tv_sec
+
#endif