mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
2006-01-21 Roland McGrath <roland@redhat.com>
* time/time.h [__need_timespec et al]: Include <bits/types.h> here too.
This commit is contained in:
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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)
|
defined __need_timespec)
|
||||||
# define __timespec_defined 1
|
# 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
|
/* POSIX.1b structure for a time value. This is like a `struct timeval' but
|
||||||
has nanoseconds instead of microseconds. */
|
has nanoseconds instead of microseconds. */
|
||||||
struct timespec
|
struct timespec
|
||||||
|
Reference in New Issue
Block a user