From 3acd8cf6c8e41c1e1228c60ac5c4ea0f69e7aff5 Mon Sep 17 00:00:00 2001
From: Anton Kling <anton@kling.gg>
Date: Sun, 14 Apr 2024 17:44:32 +0200
Subject: LibC: Fix stat struct

---
 include/sys/stat.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'include/sys/stat.h')

diff --git a/include/sys/stat.h b/include/sys/stat.h
index cf4a805..334bc7d 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -23,9 +23,9 @@ struct stat {
                  // For other file types, the use of this field is
                  // unspecified.
 
-  struct timespec st_atim; // Last data access timestamp.
-  struct timespec st_mtim; // Last data modification timestamp.
-  struct timespec st_ctim; // Last file status change timestamp.
+  time_t st_atime; // Last data access timestamp.
+  time_t st_mtime; // Last data modification timestamp.
+  time_t st_ctime; // Last file status change timestamp.
 
   blksize_t st_blksize; //  A file system-specific preferred I/O block size
                         // for this object. In some file system types, this
-- 
cgit v1.2.3