about summary refs log tree commit diff
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 44f47ad24e..36cc9254ac 100644
--- a/posix/sys/wait.h
+++ b/posix/sys/wait.h
@@ -35,7 +35,7 @@ typedef __pid_t pid_t;
 #endif
 
 /* These macros could also be defined int <stdlib.h>.  */
-#ifndef _STDLIB_H
+#if !defined _STDLIB_H || !defined __USE_XOPEN
 /* This will define the `W*' macros for the flag
    bits to `waitpid', `wait3', and `wait4'.  */
 # include <bits/waitflags.h>