diff options
author | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 21:32:56 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2012-02-26 21:32:56 -0500 |
commit | d94a4670800de6e8f088b8630ad5142866127980 (patch) | |
tree | 77ce944c2371dc45a567104a47454da162579391 /posix/sys | |
parent | 4a3dded52708e6d9be190a968f0f09ca57539e13 (diff) | |
download | glibc-d94a4670800de6e8f088b8630ad5142866127980.zip glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.gz glibc-d94a4670800de6e8f088b8630ad5142866127980.tar.bz2 |
Add first fixes for conformtest for POSIX2008
Diffstat (limited to 'posix/sys')
-rw-r--r-- | posix/sys/wait.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h index 8983a8f..07d0374 100644 --- a/posix/sys/wait.h +++ b/posix/sys/wait.h @@ -137,9 +137,15 @@ extern __pid_t wait (__WAIT_STATUS __stat_loc); extern __pid_t waitpid (__pid_t __pid, int *__stat_loc, int __options); #if defined __USE_SVID || defined __USE_XOPEN || defined __USE_XOPEN2K8 -# include <sys/resource.h> +# ifndef __id_t_defined +# include <bits/types.h> +typedef __id_t id_t; +# define __id_t_defined +# endif + # define __need_siginfo_t # include <bits/siginfo.h> + /* Wait for a childing matching IDTYPE and ID to change the status and place appropriate information in *INFOP. If IDTYPE is P_PID, match any process whose process ID is ID. |