[Bug libc/4026] New: Missing include <time.h> in clock_settime.c
aurelien at aurel32 dot net
sourceware-bugzilla@sourceware.org
Mon Feb 12 01:41:00 GMT 2007
sysdeps/unix/sysv/linux/clock_settime.c is using the type clock_id which is
defined in time.h. However it does not includes this header.
The patch below adds the include line, as it is already done in all clock_*.c
file of this directory.
--- sysdeps/unix/sysv/linux/clock_settime.c 2007-02-11 18:53:19.000000000
+0100
+++ sysdeps/unix/sysv/linux/clock_settime.c 2007-02-11 18:53:31.000000000
+0100
@@ -18,6 +18,7 @@
#include <errno.h>
#include <sysdep.h>
+#include <time.h>
#include "kernel-posix-cpu-timers.h"
#include <kernel-features.h>
--
Summary: Missing include <time.h> in clock_settime.c
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: m68k-unknown-linux-gnu
GCC host triplet: m68k-unknown-linux-gnu
GCC target triplet: m68k-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=4026
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list