diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-28 06:55:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-28 06:55:35 +0000 |
commit | eb6c0470932bdfcf0983365cef70849b5f4c97ea (patch) | |
tree | d2c9b0add63cb5b3ac3422c4e5d77b10f5c6b974 | |
parent | 4fef60b393d72c0f45584a9eacbd197ae7918fc8 (diff) | |
download | glibc-eb6c0470932bdfcf0983365cef70849b5f4c97ea.tar.gz glibc-eb6c0470932bdfcf0983365cef70849b5f4c97ea.tar.xz glibc-eb6c0470932bdfcf0983365cef70849b5f4c97ea.zip |
Update.
* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead of <sys/time.h>.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/generic/clock_getcpuclockid.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 620c716315..3b4689064d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 8014db534f..07f6c22bec 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) |