aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sys/stat.h b/lib/sys/stat.h
index a6aa9a8..0e02295 100644
--- a/lib/sys/stat.h
+++ b/lib/sys/stat.h
@@ -36,7 +36,7 @@
#define S_IWOTH 00002
#define S_IXOTH 00001
-struct stat {
+typedef struct stat {
i64 dev;
i64 ino;
u64 nlink;
@@ -53,7 +53,7 @@ struct stat {
struct timespec ctime;
u64 __[3];
-};
+} stat_t;
static int stat(const char * filename, struct stat * statbuf)
{