Include <time.h> in clock_settime.c.

This commit is contained in:
Aurelien Jarno 2012-02-17 17:46:56 +01:00
parent 9078ce930a
commit 8dee4833c5
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
[BZ #4026]
* sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
get clock_id definition.
2012-02-17 Thomas Schwinge <thomas@schwinge.name>
[BZ #4822]

6
NEWS
View File

@ -9,9 +9,9 @@ Version 2.16
* The following bugs are resolved with this release:
411, 4822, 9902, 10140, 11494, 13525, 13526, 13527, 13528, 13529, 13531,
13532, 13533, 13547, 13530, 13551, 13552, 13553, 13555, 13559, 13583,
13618
411, 4026 4822, 9902, 10140, 11494, 13525, 13526, 13527, 13528, 13529,
13531, 13532, 13533, 13547, 13530, 13551, 13552, 13553, 13555, 13559,
13583, 13618
* ISO C11 support:

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2003, 2004, 2006, 2010 Free Software Foundation, Inc.
/* Copyright (C) 2003, 2004, 2006, 2010, 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,6 +17,7 @@
#include <errno.h>
#include <sysdep.h>
#include <time.h>
#include "kernel-posix-cpu-timers.h"
#include <kernel-features.h>