diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-01-12 11:48:45 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-01-12 11:48:45 -0800 |
commit | 25fdd5d1347767f0b90aed1990cc835a75daabf9 (patch) | |
tree | edb4d8fd58a57f4d5d20a2352467898a27c2660f /posix | |
parent | f9a97ddaff5c2bbb6c27b793ca930197db525790 (diff) | |
download | glibc-25fdd5d1347767f0b90aed1990cc835a75daabf9.tar.gz glibc-25fdd5d1347767f0b90aed1990cc835a75daabf9.tar.xz glibc-25fdd5d1347767f0b90aed1990cc835a75daabf9.zip |
Fix up sched.h for XPG7.
Diffstat (limited to 'posix')
-rw-r--r-- | posix/sched.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/posix/sched.h b/posix/sched.h index e95c80f562..55bc487b37 100644 --- a/posix/sched.h +++ b/posix/sched.h @@ -1,5 +1,6 @@ /* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface. - Copyright (C) 1996,1997,1999,2001-2004,2007 Free Software Foundation, Inc. + Copyright (C) 1996,1997,1999,2001-2004,2007,2010 + 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 @@ -28,9 +29,16 @@ #define __need_size_t #include <stddef.h> +#define __need_time_t #define __need_timespec #include <time.h> +#ifndef __pid_t_defined +typedef __pid_t pid_t; +# define __pid_t_defined +#endif + + /* Get system specific constant and data structure definitions. */ #include <bits/sched.h> /* Define the real names for the elements of `struct sched_param'. */ |