mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix up sched.h for XPG7.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-01-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* posix/sched.h: Define time_t and pid_t for XPG7.
|
||||||
|
|
||||||
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* sysdeps/i386/i686/bcopy.S: New file.
|
* sysdeps/i386/i686/bcopy.S: New file.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface.
|
/* 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.
|
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
|
||||||
@ -28,9 +29,16 @@
|
|||||||
#define __need_size_t
|
#define __need_size_t
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
|
#define __need_time_t
|
||||||
#define __need_timespec
|
#define __need_timespec
|
||||||
#include <time.h>
|
#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. */
|
/* Get system specific constant and data structure definitions. */
|
||||||
#include <bits/sched.h>
|
#include <bits/sched.h>
|
||||||
/* Define the real names for the elements of `struct sched_param'. */
|
/* Define the real names for the elements of `struct sched_param'. */
|
||||||
|
Reference in New Issue
Block a user