summary refs log tree commit diff
path: root/sysdeps/unix/i386
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/i386')
-rw-r--r--sysdeps/unix/i386/i586/clock_getres.c4
-rw-r--r--sysdeps/unix/i386/i586/clock_gettime.c4
2 files changed, 2 insertions, 6 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.  */
diff --git a/sysdeps/unix/i386/i586/clock_gettime.c b/sysdeps/unix/i386/i586/clock_gettime.c
index 5d0e9f4c60..636744e4d6 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.  */