From: Roland McGrath Date: Wed, 15 Aug 2012 22:35:16 +0000 (-0700) Subject: Fix stub clock_nanosleep #include. X-Git-Tag: glibc-2.17~683 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c99b50ae4c722b4263fdd477305f27e1670bfa1;p=thirdparty%2Fglibc.git Fix stub clock_nanosleep #include. --- diff --git a/ChangeLog b/ChangeLog index 66a0b7178f2..2a67a37e8df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2012-08-15 Roland McGrath + * rt/clock_nanosleep.c: Include , not . + * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid shifting LEN more than 31 bits at once. diff --git a/rt/clock_nanosleep.c b/rt/clock_nanosleep.c index 954a615018a..0b16ad2d4f0 100644 --- a/rt/clock_nanosleep.c +++ b/rt/clock_nanosleep.c @@ -1,5 +1,5 @@ /* 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. The GNU C Library is free software; you can redistribute it and/or @@ -17,8 +17,7 @@ . */ #include -#include - +#include int clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req,