diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-15 15:35:16 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-15 15:35:16 -0700 |
commit | 7c99b50ae4c722b4263fdd477305f27e1670bfa1 (patch) | |
tree | 797a2d571b82de963e7dd2329d7718f9a16b5fa4 /rt/clock_nanosleep.c | |
parent | dd924cd7cc3ef8c9da103d883dd784815e388976 (diff) | |
download | glibc-7c99b50ae4c722b4263fdd477305f27e1670bfa1.tar glibc-7c99b50ae4c722b4263fdd477305f27e1670bfa1.tar.gz glibc-7c99b50ae4c722b4263fdd477305f27e1670bfa1.tar.bz2 glibc-7c99b50ae4c722b4263fdd477305f27e1670bfa1.zip |
Fix stub clock_nanosleep #include.
Diffstat (limited to 'rt/clock_nanosleep.c')
-rw-r--r-- | rt/clock_nanosleep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rt/clock_nanosleep.c b/rt/clock_nanosleep.c index 954a615018..0b16ad2d4f 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 @@ <http://www.gnu.org/licenses/>. */ #include <errno.h> -#include <sys/time.h> - +#include <time.h> int clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req, |