mirror of git://sourceware.org/git/glibc.git
Fix stub clock_nanosleep #include.
This commit is contained in:
parent
dd924cd7cc
commit
7c99b50ae4
|
|
@ -1,5 +1,7 @@
|
||||||
2012-08-15 Roland McGrath <roland@hack.frob.com>
|
2012-08-15 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
|
||||||
|
|
||||||
* crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
|
* crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
|
||||||
shifting LEN more than 31 bits at once.
|
shifting LEN more than 31 bits at once.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
/* High-resolution sleep with the specified clock. Stub version.
|
/* High-resolution sleep with the specified clock. Stub version.
|
||||||
Copyright (C) 2000 Free Software Foundation, Inc.
|
Copyright (C) 2000-2012 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
|
||||||
|
|
@ -17,8 +17,7 @@
|
||||||
<http://www.gnu.org/licenses/>. */
|
<http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
|
clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue