about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-21 19:33:50 +0000
committerRoland McGrath <roland@gnu.org>2006-01-21 19:33:50 +0000
commitfe8fc5124f2066e81502e6e3023f85527e114387 (patch)
tree4e676ac545dba98ff71c93b18d2d3d8f1b6fef54
parent5c983cdd089ef485b6f903efcf9e597eb1cb37ab (diff)
downloadglibc-fe8fc5124f2066e81502e6e3023f85527e114387.tar.gz
glibc-fe8fc5124f2066e81502e6e3023f85527e114387.tar.xz
glibc-fe8fc5124f2066e81502e6e3023f85527e114387.zip
2006-01-21 Roland McGrath <roland@redhat.com>
	* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
-rw-r--r--time/time.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/time/time.h b/time/time.h
index 27e0d8bc36..6c8f79d422 100644
--- a/time/time.h
+++ b/time/time.h
@@ -1,4 +1,5 @@
-/* Copyright (C) 1991-1999,2000,2001,2002,2003 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1999,2000,2001,2002,2003,2006
+	Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -113,6 +114,8 @@ typedef __timer_t timer_t;
       defined __need_timespec)
 # define __timespec_defined	1
 
+# include <bits/types.h>	/* This defines __time_t for us.  */
+
 /* POSIX.1b structure for a time value.  This is like a `struct timeval' but
    has nanoseconds instead of microseconds.  */
 struct timespec