diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/generic/clock_getcpuclockid.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2001-01-27 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead + of <sys/time.h>. + * sysdeps/unix/stime.c: Include <stddef.h> for NULL. * sysdeps/unix/time.c: Likewise. diff --git a/sysdeps/generic/clock_getcpuclockid.c b/sysdeps/generic/clock_getcpuclockid.c index 8014db5..07f6c22 100644 --- a/sysdeps/generic/clock_getcpuclockid.c +++ b/sysdeps/generic/clock_getcpuclockid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2001 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,7 +17,7 @@ Boston, MA 02111-1307, USA. */ #include <errno.h> -#include <sys/time.h> +#include <time.h> int clock_getcpuclockid (pid_t pid, clockid_t *clock_id) |