* sysdeps/generic/clock_getcpuclockid.c: Include <time.h> instead
	of <sys/time.h>.
This commit is contained in:
Ulrich Drepper 2001-01-28 06:55:35 +00:00
parent 4fef60b393
commit eb6c047093
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2001-01-27 Ulrich Drepper <drepper@redhat.com> 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/stime.c: Include <stddef.h> for NULL.
* sysdeps/unix/time.c: Likewise. * sysdeps/unix/time.c: Likewise.

View File

@ -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. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@ -17,7 +17,7 @@
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#include <errno.h> #include <errno.h>
#include <sys/time.h> #include <time.h>
int int
clock_getcpuclockid (pid_t pid, clockid_t *clock_id) clock_getcpuclockid (pid_t pid, clockid_t *clock_id)