diff --git a/sysdeps/posix/timespec_get.c b/sysdeps/posix/timespec_get.c index 22a06c8bee..a578e8b986 100644 --- a/sysdeps/posix/timespec_get.c +++ b/sysdeps/posix/timespec_get.c @@ -26,7 +26,7 @@ timespec_get (struct timespec *ts, int base) switch (base) { case TIME_UTC: - if (clock_gettime (CLOCK_REALTIME, ts) < 0) + if (__clock_gettime (CLOCK_REALTIME, ts) < 0) return 0; break;