about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/alpha/bits/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/alpha/bits/time.h')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/bits/time.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/bits/time.h b/sysdeps/unix/sysv/linux/alpha/bits/time.h
index d32f4d30e9..7f26efd031 100644
--- a/sysdeps/unix/sysv/linux/alpha/bits/time.h
+++ b/sysdeps/unix/sysv/linux/alpha/bits/time.h
@@ -43,11 +43,13 @@
 
 #ifndef _STRUCT_TIMEVAL
 # define _STRUCT_TIMEVAL	1
+# include <bits/types.h>
+
 /* A time value that is accurate to the nearest
    microsecond but also has a range of years.  */
 struct timeval
   {
-    int tv_sec;			/* Seconds.  */
-    int tv_usec;		/* Microseconds.  */
+    __time_t tv_sec;		/* Seconds.  */
+    __time_t tv_usec;		/* Microseconds.  */
   };
 #endif	/* struct timeval */