summaryrefslogtreecommitdiff
path: root/include/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/time.h')
-rw-r--r--include/sys/time.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/time.h b/include/sys/time.h
index f051d58c4..d51de1b8f 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -72,6 +72,11 @@ typedef void *__restrict __timezone_ptr_t;
extern int gettimeofday (struct timeval *__restrict __tv,
__timezone_ptr_t __tz) __THROW;
+#ifdef _LIBC
+extern int __libc_gettimeofday (struct timeval *__restrict __tv,
+ __timezone_ptr_t __tz) __THROW;
+#endif
+
#ifdef __USE_BSD
/* Set the current time of day and timezone information.
This call is restricted to the super-user. */