summary refs log tree commit diff
path: root/sysdeps/unix/i386/i586/clock_getres.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/i386/i586/clock_getres.c')
-rw-r--r--sysdeps/unix/i386/i586/clock_getres.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/unix/i386/i586/clock_getres.c b/sysdeps/unix/i386/i586/clock_getres.c
index 49986f85ab..dd0af535ef 100644
--- a/sysdeps/unix/i386/i586/clock_getres.c
+++ b/sysdeps/unix/i386/i586/clock_getres.c
@@ -18,6 +18,7 @@
 
 #include <sys/param.h>
 #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
@@ -27,9 +28,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.  */