From 9004bc202e5ea7b8eabca183f4e6c6abe573f802 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 2 Jun 1996 19:47:36 +0000 Subject: Sun Jun 2 14:56:49 1996 Roland McGrath * login/pututline_r.c: Fix typo in sizeof for DATA_TMP alloca. * sysdeps/generic/gnu/types.h (__clock_t): New type. * sysdeps/unix/sysv/linux/gnu/types.h (__clock_t, __fsid_t): Define using kernel types. * time/time.h (clock_t): Include and define using __clock_t. --- time/time.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'time') diff --git a/time/time.h b/time/time.h index 12c3ce4..5926d80 100644 --- a/time/time.h +++ b/time/time.h @@ -57,8 +57,10 @@ __BEGIN_DECLS (defined(_TIME_H) || defined(__need_clock_t)) #define __clock_t_defined 1 +#include + /* Returned by `clock'. */ -typedef long int clock_t; +typedef __clock_t clock_t; #endif /* clock_t not defined and or need clock_t. */ #undef __need_clock_t -- cgit v1.1