From 0d631f9dff33a7851b7df5954aebe5a27a3116d3 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 2 Jan 2015 10:35:05 +0000 Subject: [PATCH] types: Add clock_t into sys/types.h, and include the types.h in proc.h --- Library/include/proc.h | 2 ++ Library/include/sys/types.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/include/proc.h b/Library/include/proc.h index 1fe912e2..ce0b7fe8 100644 --- a/Library/include/proc.h +++ b/Library/include/proc.h @@ -1,6 +1,8 @@ #ifndef __PROC_H #define __PROC_H +#include + /* Process table p_status values */ #define P_EMPTY 0 /* Unused slot */ diff --git a/Library/include/sys/types.h b/Library/include/sys/types.h index 61c67adc..32f9a30d 100644 --- a/Library/include/sys/types.h +++ b/Library/include/sys/types.h @@ -56,5 +56,5 @@ typedef int16_t pid_t; typedef uint16_t ino_t; typedef int64_t time_t; - +typedef int32_t clock_t; #endif -- 2.34.1