diff options
Diffstat (limited to 'posix/sys/wait.h')
-rw-r--r-- | posix/sys/wait.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h index 29ca453742..6bb6668941 100644 --- a/posix/sys/wait.h +++ b/posix/sys/wait.h @@ -133,7 +133,8 @@ extern int waitid (idtype_t __idtype, __id_t __id, siginfo_t *__infop, int __options); #endif -#if defined __USE_MISC || defined __USE_XOPEN_EXTENDED +#if defined __USE_MISC \ + || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K) /* This being here makes the prototypes valid whether or not we have already included <sys/resource.h> to define `struct rusage'. */ struct rusage; |