summaryrefslogtreecommitdiff
path: root/Kernel/UnixTypes.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-08-14 19:17:32 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-14 19:58:11 +0200
commit35b52338bb82ff66e7a76ba764c1ca97b6e9e18c (patch)
tree5cbc88d580594b98b62864c93f7bfdb255011145 /Kernel/UnixTypes.h
parent808ce594db1f2190e5212a250e900bde2ffe710b (diff)
downloadserenity-35b52338bb82ff66e7a76ba764c1ca97b6e9e18c.zip
Kernel+LibC: Share definitions for sys/times.h
Diffstat (limited to 'Kernel/UnixTypes.h')
-rw-r--r--Kernel/UnixTypes.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Kernel/UnixTypes.h b/Kernel/UnixTypes.h
index 29bacddeee..b3af1919fe 100644
--- a/Kernel/UnixTypes.h
+++ b/Kernel/UnixTypes.h
@@ -22,6 +22,7 @@
#include <Kernel/API/POSIX/sys/mman.h>
#include <Kernel/API/POSIX/sys/socket.h>
#include <Kernel/API/POSIX/sys/stat.h>
+#include <Kernel/API/POSIX/sys/times.h>
#include <Kernel/API/POSIX/sys/un.h>
#include <Kernel/API/POSIX/sys/utsname.h>
#include <Kernel/API/POSIX/sys/wait.h>
@@ -38,13 +39,6 @@ TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ThreadID);
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, SessionID);
TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ProcessGroupID);
-struct tms {
- clock_t tms_utime;
- clock_t tms_stime;
- clock_t tms_cutime;
- clock_t tms_cstime;
-};
-
typedef i64 off_t;
typedef i64 time_t;