aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/i386/bits/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/i386/bits/time.h')
-rw-r--r--sysdeps/mach/hurd/i386/bits/time.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/i386/bits/time.h b/sysdeps/mach/hurd/i386/bits/time.h
index b7c3c23172..7595ae7a6a 100644
--- a/sysdeps/mach/hurd/i386/bits/time.h
+++ b/sysdeps/mach/hurd/i386/bits/time.h
@@ -35,10 +35,10 @@
# ifndef __STRICT_ANSI__
/* Even though CLOCKS_PER_SEC has such a strange value CLK_TCK
- presents the real value for clock ticks per second for the system.
- This value is determined at runtime. */
-# define CLK_TCK __libc_clk_tck()
-extern int __libc_clk_tck (void) __attribute__ ((__const__));
+ presents the real value for clock ticks per second for the system. */
+# include <bits/types.h>
+extern long int __sysconf (int);
+# define CLK_TCK ((__clock_t) __sysconf (2)) /* 2 is _SC_CLK_TCK */
# endif
# ifdef __USE_POSIX199309