aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/i386/i586/clock_gettime.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/i386/i586/clock_gettime.c')
-rw-r--r--sysdeps/unix/i386/i586/clock_gettime.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/i386/i586/clock_gettime.c b/sysdeps/unix/i386/i586/clock_gettime.c
index 5d0e9f4..636744e4 100644
--- a/sysdeps/unix/i386/i586/clock_gettime.c
+++ b/sysdeps/unix/i386/i586/clock_gettime.c
@@ -17,6 +17,7 @@
Boston, MA 02111-1307, USA. */
#include <sys/time.h>
+#include <libc-internal.h>
/* This implementation uses the TSC register in modern (i586 and up) IA-32
processors (most modern clones also provide it). Since we need the
@@ -26,9 +27,6 @@
faster processors will not work without changes. */
-/* Function to determine processor frequency. */
-extern unsigned long long int __get_clockfreq (void);
-
/* Clock frequency of the processor. We make it a 64-bit variable
because some jokers are already playing with processors with more
than 4GHz. */