summaryrefslogtreecommitdiff
path: root/include/sys/timeb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/timeb.h')
-rw-r--r--include/sys/timeb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/timeb.h b/include/sys/timeb.h
index 108c1f5c..628239b7 100644
--- a/include/sys/timeb.h
+++ b/include/sys/timeb.h
@@ -4,6 +4,8 @@
extern "C" {
#endif
+#include <features.h>
+
#define __NEED_time_t
#include <bits/alltypes.h>
@@ -16,6 +18,10 @@ struct timeb {
int ftime(struct timeb *);
+#if _REDIR_TIME64
+__REDIR(ftime, __ftime64);
+#endif
+
#ifdef __cplusplus
}
#endif