This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4026] New: Missing include <time.h> in clock_settime.c
- From: "aurelien at aurel32 dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 12 Feb 2007 01:41:19 -0000
- Subject: [Bug libc/4026] New: Missing include <time.h> in clock_settime.c
- Reply-to: sourceware-bugzilla at sourceware dot org
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.