aboutsummaryrefslogtreecommitdiff
path: root/posix/sys/wait.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/sys/wait.h')
-rw-r--r--posix/sys/wait.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/sys/wait.h b/posix/sys/wait.h
index f889ada..8983a8f 100644
--- a/posix/sys/wait.h
+++ b/posix/sys/wait.h
@@ -28,7 +28,6 @@
__BEGIN_DECLS
#include <signal.h>
-#include <sys/resource.h>
/* These macros could also be defined in <stdlib.h>. */
#if !defined _STDLIB_H || (!defined __USE_XOPEN && !defined __USE_XOPEN2K8)
@@ -138,6 +137,7 @@ 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>
# define __need_siginfo_t
# include <bits/siginfo.h>
/* Wait for a childing matching IDTYPE and ID to change the status and